[wp-trac] [WordPress Trac] #8117: Media library should not show edit or delete links for non-admins

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 8 15:28:11 GMT 2008


#8117: Media library should not show edit or delete links for non-admins
---------------------+------------------------------------------------------
 Reporter:  mrmist   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.7      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 When viewing the media library non-admins/editors are given "edit" and
 "delete" links next to media content owned by other users.

 Clicking delete gives a wp_die that they cannot delete the post.
 Clicking edit goes back to the dashboard.

 Neither edit nor delete links should be shown for non-admin/editors for
 content that does not belong to them. (In fact it's a toss-up if the other
 user content should appear at all, given that there's a multi-item delete
 action available that then behaves akwardly.)

 9570 via svn.

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


More information about the wp-trac mailing list