Jump to:

23376 Posts in 18295 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Problem with access permissions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 783 Views
  • Romeo
    Avatar
    Community Member
    67 Posts

    Problem with access permissions Link to this post

    I have set security up so that there are 2 groups: Administrators, with unlimited rights, and Maintainers, whose rights are more limited. I have some pages which are in effect holders for subpages where the real content is (the end user first selects the parent page then the child page from a nested menu). I want Maintainers to be able to edit the content of the subpages but NOT be able to edit the parent (holder) pages (which are in effect part of the design of the website).

    So, I set "Who can edit this page?" for the parent to just the Administrators group, then for the children, I check both the Administrators and Maintainers boxes, saving as I go along. But evidently Silverstripe does not like what I'm doing because it doesn't save the permissions (although no error comes up). When I move away from the parent page and then come back to it, the 'Only these people (choose from list)' radio button is still set for 'Who can edit this page?', but with no groups - it has forgotten them. This is the same with 2.3.3 and 2.3.4.

    Am I misunderstanding something about the security in Silverstripe? Is it not possible for subpages to have more liberal editing permissions than their parent page?

  • Romeo
    Avatar
    Community Member
    67 Posts

    Re: Problem with access permissions Link to this post

    LATER... It seems the problem runs deeper than that. I'm finding that in the case of a parent page with child pages, these group permissions are simply not retained at all, neither for the parent nor the children. What makes it more puzzling is that this only applies to existing pages and subpages. If I create a new parent page and add children to it, there is no problem, the permissions are retained. But nothing I do with the existing ones allows me to retain the permissions (nothing I can do via the CMS interface anyway). On simple pages there's no problem.

    Does this make any sense to anyone?

    783 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.