Try Now
More in this section

Forums / Developing with Sitefinity / Permissions on custom modules

Permissions on custom modules

2 posts, 1 answered
  1. Chris
    Chris avatar
    87 posts
    11 May 2010
    15 Feb 2011
    Link to this post

    We are using Sitefinity with our own existing .NET membership and role providers and it generally works great. However, when we develop custom modules we are not able to see them until we hack about in the database to insert the right permissions.

    At the moment, when we create a new module we switch back to the default Sitefinity membership and role providers, set permissions using the administrator account and copy and modify these for our own roles.

    It appears as though Sitefinity is aware of it's built in administrator role and uses this to allow administrators to automatically view and use custom modules. We have an equivalent custom role, so is there a way we can set the same administrator permissions for this role?


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    16 Feb 2011
    Link to this post
    Hello Chris,

    Administrators is a special role in Sitefinity and for users that belong to this role the permission check is "skipped".  Inside the web.config there is a section <security> where you can try to add your role and set permission attribute to Unrestricted.

    <security defaultProvider="DefaultSecurityProvider" cmsProvidersName="Sitefinity">
                    <clear />
                    <add name="Administrators" permission="Unrestricted" />
                    <add name="CustomRole" permission="Unrestricted" />  

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 1 answered