[wp-trac] [WordPress Trac] #29009: There should be a capability for "publish private posts"

WordPress Trac noreply at wordpress.org
Thu Jul 24 12:05:45 UTC 2025


#29009: There should be a capability for "publish private posts"
--------------------------------+-----------------------------
 Reporter:  t.schwarz           |       Owner:  (none)
     Type:  enhancement         |      Status:  reopened
 Priority:  normal              |   Milestone:
Component:  Role/Capability     |     Version:  3.9.1
 Severity:  normal              |  Resolution:
 Keywords:  dev-feedback close  |     Focuses:  administration
--------------------------------+-----------------------------
Changes (by callumbw95):

 * keywords:  dev-feedback => dev-feedback close


Comment:

 After reviewing this proposal, it appears that the functionality you're
 seeking is already covered by existing core capabilities:

 - Users with the `publish_posts` capability can create new posts and set
 their visibility to 'private' during the creation process.
 - Users with the `edit_private_posts` capability can manage existing
 private posts, including updating their status from, for example, a draft
 to a published private post. Introducing a separate
 `publish_private_posts` capability would add an additional layer of
 complexity to the core capability system for a use case that is largely
 managed by current permissions.

 For the level of detailed control over permissions that you are
 requesting, you'll definitely want to use a plugin or make modifications
 in your theme. The core roles are meant as a solid foundation, but
 dedicated 'capability manager' plugins are the standard way to handle
 highly specific user access.

 As of such I recommend we close this ticket, and have added the `close`
 tag so we can get any more feedback around this issue before it is closed
 completely. 😃

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/29009#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list