More in this section

Forums / Bugs & Issues / Role / permission issues

Role / permission issues

4 posts, 0 answered
  1. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    05 Dec 2011
    Link to this post
    Hi,

    - Under Administration / Roles, we created a new role (let's call it TestRole), and in it, added all the possible permissions for Pages.
    - Under Pages / Permissions for all pages, again, we added all the possible permissions for TestRole.

    Result: persons with this role still cannot edit pages.

    If we check the permissions of any page, it says: "This item inherits permissions from its parent. " (no inheritance breakage anywhere), then below, you can see it doesn't mention TestRole at all. It should. The only way we could get it to work was to break permission inheritance on every top-most pages to explicitly add TestRole.

    This is with Sitefinity 4.3.
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    05 Dec 2011
    Link to this post
    Hello Thomas,

    Please make sure that your edition of Sitefinity supports granular permissions. You can check the attached screenshot.

    By default the permissions for the pages are set from "Pages" section of the CMS, and the custom roles are not added, unless you break the inheritance and each custom role.

    Greetings,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    05 Dec 2011
    Link to this post
    Hi Victor,

    We have the Enterprise edition, so I guess that's not the problem.

    PS: when breaking inheritance for a group of pages with too many child pages, the site crashes (100% reproducible). This forced us to set the permissions on small-enough page groups.
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    06 Dec 2011
    Link to this post
    Hello Thomas,

    If you have more than a hundred pages under one node, make sure to set the maxPageNodes setting in the webconfig:

    <siteMap defaultProvider="SitefinitySiteMap">
          <providers>
            <add name="SitefinitySiteMap" type="Telerik.Sitefinity.Web.SitefinitySiteMap, Telerik.Sitefinity" taxonomyProvider="OpenAccessDataProvider" pageTaxonomy="Pages" rootNode="FrontendSiteMap" pageProvider="OpenAccessDataProvider" maxPageNodes="200"/>
          </providers>
        </siteMap>

    I have also tried to reproduce the issue on local environment, but to no avail. What I did was to create a sample role, assign it to a test user and was able to edit the pages ( after assigning the proper page permissions ).

    Can you send us login credentials for the website, so we can investigate further?

    Best wishes,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered