Account for user capabilities in publishing flow #2029
Labels
General Interface
Parts of the UI which don't fall neatly under other labels.
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Currently we do not account for user capabilities when deciding if and how to show the "Publish" button. A contributor, for example, must Submit for Review, and does not have access to publishing a post. Currently when trying to Publish a post as a Contributor role, the save attempt fails with a notice.
Suggestion
When current user does not have
publish_posts
capability...Related Resources
https://codex.wordpress.org/Roles_and_Capabilities#publish_posts
The text was updated successfully, but these errors were encountered: