[wp-trac] [WordPress Trac] #11873: Contributors can restore trashed posts

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 12 02:35:02 UTC 2010


#11873: Contributors can restore trashed posts
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:     
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Administration  |     Version:  2.9
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------
 Legend:

 editor - has the publish_posts capability

 contributor - doesn't have the publish_posts capability

 If an editor moves a post to trash, the post author is able to republish
 the post, even if he's a contributor.


 Steps to reproduce:

 1. contributor: submit a post for review

 2. editor: publish post

 3. editor: trash post

 4. contributor: restore post

 So, to prevent a contributor from republishing trashed posts, an editor
 has the following workarounds:

 - permanently delete the post

 - set the post status to 'pending' before trashing it

 Neither of these is optimal.

 [11873] doesn't seem to address this properly.

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


More information about the wp-trac mailing list