[wp-trac] [WordPress Trac] #55106: Split publish_posts in publish_posts and publish_others_posts

WordPress Trac noreply at wordpress.org
Mon Feb 7 21:24:30 UTC 2022


#55106: Split publish_posts in publish_posts and publish_others_posts
-----------------------------+-----------------------------
 Reporter:  freakenstein     |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:  administration   |
-----------------------------+-----------------------------
 While working on a multisite blog I've found that several capabilities
 have an _others_ version, but is missing on the `publish_posts`
 capability.

 This is important because you currently can't limit someone to publish
 only his/her own posts. It's all or nothing. Example: a newly added Author
 can publish a draft from the Administrator.
 It can also be seen as a feature the other way around: when everyone has
 only `publish_others_posts` capabilities, every posts has to get a second
 pair of eyes before getting published.

 **I suggest implementing:**

 `publish_posts` - Controls whether objects of this type __owned by current
 user__ can be published. Set as default capability of Super Admin,
 Administrator, Editor, Author.

 `publish_others_posts` - Controls whether objects of this type __owned by
 other users__ can be published. If the post type does not support an
 author, then this will behave like publish_posts. Set as default
 capability of Super Admin, Administrator, Editor.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list