Closed raissanorth closed 5 years ago
Thanks for the clear bug report! I think this is a misunderstanding in how the functionality works. "Edit any page" (code: SITETREE_EDIT_ALL
) is an override which bypasses any other permission checks. The actual page editing permissions are controlled through the "Settings" panel in SiteConfig, and then inherited down through the page tree structure.
@clarkepaul Can you put this on your radar to reword? I know there's a lot we should change around the UX for permission setting, but for now mentioning that distinction is a good first step?
Already on our radar, most of it captured here https://github.com/silverstripe/silverstripe-framework/issues/4861 . This got my attention about a month ago when I had to do a demo of the permissions and couldn't figure it out myself :/ .
This may be resolved in #8620 together with other CMS permission issues as a holistic solution
OK, closing in favour of the two referenced tickets.
Overview
(Ingo's update on this ticket): It's unclear how "edit any page" permissions work, we need a better UX and messaging for this.
Affected Version
silverstripe/framework 4.x-dev 3b7802b The SilverStripe framework
Description
A user with access to Pages, but no content permissions is able to edit, save, delete, and publish Pages as well as Blocks.
See the permissions assigned to my user:
Steps to Reproduce