A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
Attempting to un-publish a singleton such as global results in a Forbidden error:
Also, we now hide the "Unpublish" item from context menu of singletons:
before
after
What are the specific steps to test this change?
For example:
Run the website and log in as an admin
Open a piece manager modal and select several pieces
Click the "Archive" button on the top left of the manager and confirm that it should proceed
Check that all pieces have been archived properly
What kind of change does this PR introduce?
(Check at least one)
[x] Bug fix
[ ] New feature
[ ] Refactor
[ ] Documentation
[ ] Build-related changes
[ ] Other
Make sure the PR fulfills these requirements:
[x] It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
[x] The changelog is updated
[ ] Related documentation has been updated
[x] Related tests have been updated --> Cypress test in progress
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Summary
Attempting to un-publish a singleton such as global results in a Forbidden error:
Also, we now hide the "Unpublish" item from context menu of singletons:
What are the specific steps to test this change?
For example:
What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: