BUG If a nested page editable but parent not, user can't expand tree #832

Merged
merged 1 commit into from Sep 28, 2012

Conversation

Projects
None yet
2 participants
Owner

halkyon commented Sep 28, 2012

If you're logged in as a specific user in a group who has view/edit
permissions of a page that has a parent page which doesn't have
permissions, you can't expand the tree node to get access to that
nested page.

This fixes LeftAndMain.Tree.js to allow expanding if there are
immediate children tree nodes that are not disabled. Also fixes
styling so that only immediate children nodes are greyed out.

Fixes this ticket: http://open.silverstripe.org/ticket/7913

@halkyon halkyon BUG If a nested page editable but parent not, user can't expand tree
If you're logged in as a specific user in a group who has view/edit
permissions of a page that has a parent page which doesn't have
permissions, you can't expand the tree node to get access to that
nested page.

This fixes LeftAndMain.Tree.js to allow expanding if there are
immediate children tree nodes that are not disabled. Also fixes
styling so that only immediate children nodes are greyed out.

Fixes this ticket: http://open.silverstripe.org/ticket/7913
b186626
Owner

chillu commented Sep 28, 2012

Tested and confirmed fix, thanks Sean!

@chillu chillu added a commit that referenced this pull request Sep 28, 2012

@chillu chillu Merge pull request #832 from halkyon/sitetree_children_disabled
BUG If a nested page editable but parent not, user can't expand tree
ea86b96

@chillu chillu merged commit ea86b96 into silverstripe:3.0 Sep 28, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment