Programmatically adding permissions to role for Forums
I am trying to programmatically create roles and assign forum permissions, following the steps found here: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/deep-dive/security/permissions/granting-and-denying-permissions
However, when it comes to the GrantActions call, there is no Forum set in SecurityConstants. There is a ForumsPermissions class in the Telerik.Sitefinity.Forums namespace, but it is marked internal and thus not available to access. Is there another method for adding permissions to roles for Forums?
Hi,
There is no other way to add permission to forum post programmatically. The internal class ForumsPermissions is the access point to those permissions. I have logged a feature request to allow programmatic creation of permissions for forums.
Greetings,