More in this section
Forums / Developing with Sitefinity / Where are the default rights defined?

Where are the default rights defined?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. David
    David avatar
    22 posts
    04 May 2009
    05 Jun 2009
    Link to this post
    In a fresh install of 3.6 I see the following types of rights available to set for roles:

    Manage users
    Manage permissions
    Manage files
    Edit templates

    As we will be doing some custom development which is likely to need similar security, I want to understand the implementation of these roles.

    I can see that roles are mapped to specific permissions in the sf_SecPerms table.  But after plenty of poking around I haven't been able to find where those 5 rights are defined. Is it baked into a DLL?  Is it in the database?  Is it in config?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    06 Jun 2009
    Link to this post
    Hi David,

    The permissions - called Global Permissions are built into Telerik.Cms assemble. Unfortunately, most of the methods are private or static and cannot be overridden. For instance you could create your own class that inherits Telerik.Cms.Security.Rights and defines global rights.


    public int Access  
          return 16;  

    Then you need to use your custom class in your implementations.

    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered