PAGES_EDITOR permission should allow for publishing/unpublishing for editors

Description

Update

  • Update the Editor role’s PAGES_EDITOR permission to allow them to fully publish/unpublish content instead of drafts.

Description

Since the save method in baseContentHandler forces a publish status to false if the user does not have PAGES_ADMIN permission, Editors are shown a publish button, but this publish button automatically saves the page as draft.

This is a UI disappoint for Page editors. If the user does not have permission to actually publish content, then buttons that indicate this is the result should be hidden in the publishing sidebar. A message should also be displayed saying that they will need to contact an administrator to publish their content.

Personally, I don’t believe this PAGES_ADMIN permission should be enforced to publish content. If a user is assigned an editor role, they should be able to publish content to the site, so that an ad-hoc permission is not required to allow them to do so.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Components

Priority

Sentry

Created May 27, 2022 at 3:34 PM
Updated August 5, 2022 at 8:55 PM
Resolved August 5, 2022 at 8:55 PM