Skip to content
This repository

Subsites: Only users with 'Edit all pages' permission can edit any pages on Main Site #46

Closed
sminnee opened this Issue · 1 comment

3 participants

Sam Minnée moveforward Sean Harvey
Sam Minnée
Owner

From http://open.silverstripe.org/ticket/6677

Permissions seem to break when using the subsites module.

Users in groups other than admin can only edit pages on the main site if the 'Edit any page' box is checked, which means you can only allow users to edit all pages or no pages.

If you don't allow them to edit all pages, then every page is in read only mode on the main site.

If you disable the subsite_filter from the _config then it works as expected, but obviously breaks the tree.

To replicate:

Create a Subsite
Create a new Group with a test user in
Give them access to the 'Pages' section
Login with that user and note that no pages on the Main site are editable.

It seems the fix is simple and available here:

mateusz@fb998ae#diff-0

moveforward

Mateusz' fix has been applied, so this issue should be closed

Sean Harvey halkyon closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.