Jump to:

5453 Posts in 1674 Topics by 1198 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Silverstripe 3 Permissions Issues

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

Page: 1
Go to End
Author Topic: 793 Views
  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Silverstripe 3 Permissions Issues Link to this post

    I've created a security group on a Silverstripe 3 website that should only have access a select branch of the site. However, because that section is on the second level, they need to expand the subpages to get to the part of the site. This was not a problem to setup in SS 2.4, however in SS 3 the content manager cannot get to the subpages. They seem to be disabled judging by the css classes the js generates. I've attached a screenshot to show what I mean.

    Anyone else have this issue? Or know how I can fix this?

    Attached Files
  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Silverstripe 3 Permissions Issues Link to this post

    Looks like I can indeed replicate this, so it must've been a regression when the tree was rewritten for SilverStripe 3.

    I've raised a ticket for it here: http://open.silverstripe.org/ticket/7913

    You are right in that it must be something with the Javascript of the tree, because I can access the page manually if I enter the ID in the URL, e.g. pages/show/edit/2. The tree is then expanded if I do that, but the immediate page I can edit is greyed out in the tree, even though I can edit the content.

    I'll look into a patch to fix the sitetree.

    Cheers,
    Sean

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Silverstripe 3 Permissions Issues Link to this post

    Proposed fix has been submitted here: https://github.com/silverstripe/sapphire/pull/832

    Feel free to try patching your copy and see if that helps.

    Thanks,
    Sean

  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Silverstripe 3 Permissions Issues Link to this post

    Ah, that works. Thanks!

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Silverstripe 3 Permissions Issues Link to this post

    This patch has been merged into the development 3.0 branch on Github, should make the next release

    Cheers,
    Sean

    793 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.