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

Forums / Bugs & Issues / permissions problem with nested pagegroups, can't view sitemap

permissions problem with nested pagegroups, can't view sitemap

3 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    20 Aug 2008
    Link to this post
    I am using roles to restrict access to pages to their specific departments. This has worked so far because most of the departments are only one pagegroup deep in the sitemap, so they are able to see just their node.

    However, we have one pagegroup that has many departments beneath it. something like

    site.com -> departments (page group) -> department A (page group) -> department A home page

    I've given department A access to the department A page group, because I only want them to be able to make changes to the sites in their section. Unfortunately, since they' don't have access to the higher departments level, nothing shows up in the sitemap! I tested this by giving them access to that departments page group, and sure enough they see the whole tree....

    I'm guessing the only way to implement this correctly would be to go ahead and grant them view priviledge to the departments pagegroup, then one by one deny them view access to every other node (except theirs) in all of the page groups beneath it.

    It would be nice if this could happen by default tho... either to show the outer departments node, or just start at the inner one (as opposed to showing nothing).

    thanks for listening!
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    21 Aug 2008
    Link to this post
    just wanted to confirm that adding the user permissions to the parent node, then individually denying each other sibling node does produce the desired behavior. I guess this isn't so much a bug as much as a convenience issue. Though logically it would make sense that if a user has permission to a sub-sub-node it should be able to see at least the parent page group node so they can see their sub tree instead of an empty tree.

    the bottom line is it's working, hope this was helpful to someone, thanks for listening!
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    25 Aug 2008
    Link to this post
    Hello SelArom,

    We have already logged this issue as a bug. We are glad that you have found this workaround yourself.

    Let us know if you experience any further problems.

    All the best,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered