Security API supports applying permissions for multiple role providers, however the user interface for this is implemented only for the cms pages, but not for the Modules. In other words, if you have more than one role providers declared in the web.config, and you go to the Pages -> SiteMap -> Permissions section, you will see a drop down list with the available role providers. Unfortunately, this drop down is missing for the modules, where all permissions are set for the Sitefinity
provider by default.
Currently, you can use the following trick to set the permissions for your Active Directory roles in the Forums module:
- Set your AD membership and role providers as defaults for the Sitefinity
administration in the web.config;
- Set one of the AD roles as unrestricted :
| <security defaultProvider="DefaultSecurityProvider" cmsProvidersName="AD">
| <add name="Administrators" permission="Unrestricted"/>
| <add name="MyADRole" permission="Unrestricted"/>
- Log in the Sitefintiy
with a AD user which belongs to MyADRole
- Go to the Modules-> Forums -> Permissions and set the permissions for the AD roles;
- Roll back the previous security settings in the web.config.
Bare in mind, that after restoring the default security settings you won't be able to view the AD permissions for the forums module, but still they will br verified when an AD user is logged in the Sitefinity.
Here are some related KB articles you may also take a look:
Even this is not a straightforward solution, I hope it is helpful.
the Telerik team