More in this section

Forums / Developing with Sitefinity / Multiple Roles Access Problem

Multiple Roles Access Problem

2 posts, 0 answered
  1. Muhammad Saqib
    Muhammad Saqib avatar
    95 posts
    09 Sep 2009
    05 Dec 2009
    Link to this post
    Here is scenario::
    i have 2 Roles , Admin & Normal Users. (Admin group is defined as unrestricted in web.config security tab)

    1. "user1" has Role Normal User and when he tries to open admin pages, system throws Exception (FINE)

    2. "user2" has Role Admin and he can see the admin pages (FINE)

    3. "user3" has both Roles, Admin as well as Normal User, and when tries to open admin pages, System throws exception...(NOT FINE)....
    As "user3" is in Admin role as well so he should have access to Admin pages

    It should be like, when any user has multiple roles ,so it means he has all the permission of the combination of all his roles rather just one.

    Suggestion/Comments Please!....

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    05 Dec 2009
    Link to this post
    Hi Muhammad Saqib,

    First "Administrators" is a special role. Second "Deny" Permission has a higher priority than "Allow" so you cannot have in one role for one right "Allow" and in the another role for the same right "Deny"

    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.
2 posts, 0 answered