1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Updating a page permission for multiple roles

Updating a page permission for multiple roles

4 posts, 0 answered
  1. Laura
    Laura avatar
    311 posts
    Registered:
    25 Feb 2008
    23 Dec 2009
    Link to this post
    I think I may already know the answer to this but I am hoping I am wrong. Our client has say 75 Roles in Sitefinity. Each role is a client and is used to diplay their corresponsing landing page after logging in to the front end. If our client adds a page that they want everyone to view, and this is all behind a log in (set anonymous access to deny), I assume he would have to go to each Role and set view to allow for the page for each and every role? There is no way to do this in a 'bulk' manner?

    Thank you.
    Laura
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    23 Dec 2009
    Link to this post
    Hello Laura,

    If you go to Permissions tab of the newly created page and set any permissions to "everyone" role, these permissions will apply to all 75 roles you have.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Laura
    Laura avatar
    311 posts
    Registered:
    25 Feb 2008
    23 Dec 2009
    Link to this post
    Aha, I need to read more on how to properly use the Everyone role...   thought it did something different.  And then I could actaully set one of the roles to view = deny if needed  -- and would that then  overide the view = allow in the everyone role for the one particular one role?
    Where can I get more info on the Everyone role potential?

    Thank you and Happy Holidays!
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    23 Dec 2009
    Link to this post
    Hello Laura,

    First you could break the inheritance from everyone, then assign your permissions. Also Deny permissions has higher priority than allow, so if you first set "View" deny to everyone role you will not be able to change this for one of your 75 roles until you break the inheritance from everyonerole.
    All not special roles ( administrators and owner are special roles)  could inherit permissions from everyonerole as described in the previous post.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
4 posts, 0 answered