[wp-trac] [WordPress Trac] #19259: Consider a new capability of 'add_post'

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 16 08:28:26 UTC 2011


#19259: Consider a new capability of 'add_post'
-----------------------------+-----------------------------
 Reporter:  johnbillion      |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Administration   |    Version:
 Severity:  minor            |   Keywords:
-----------------------------+-----------------------------
 I'm hoping this isn't too niche a requirement to be considered.

 On two sites recently I've wanted to prevent a user from being able to
 create new posts, while still allowing them access to the Posts screen and
 to edit their existing posts.

 I can partially achieve this by giving them the edit_posts capability but
 not the publish_posts capability (the same as Authors). I would also like
 to be able to prevent them from being able to add new posts at all. The
 problem is that viewing the Posts screen and adding a new post uses the
 same capability, edit_posts.

 My use case is that I have some users who have posts added and published
 on their behalf. They are then set as the post author so they can edit
 their posts if necessary.

 Currently these users can still create new posts and submit them for
 review. It would be nice to prevent them from adding new posts at all.
 Currently I have to hide the various 'Add New' UI elements and prevent
 access to the Add New Post screen.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19259>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list