[wp-trac] [WordPress Trac] #19834: More Robust Capabilities for Attachments

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 15 10:09:43 UTC 2012


#19834: More Robust Capabilities for Attachments
-----------------------------+------------------------------
 Reporter:  walkinonwat3r    |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------
Description changed by ocean90:

Old description:

> Attachments/files should have their own set of capabilities mirroring
> those of posts, in addition to upload_files. Specifically:
>
> -edit_attachments
> -edit_others_attachments
> -delete_attachments
> -delete_others_attachments
>
> Currently, attachments rely on the edit_posts capability, which can
> create complications if you don't want your users to see the "Posts"
> sidebar item, or don't want them to be able to delete the attachments
> they upload.

New description:

 Attachments/files should have their own set of capabilities mirroring
 those of posts, in addition to upload_files. Specifically:

 - edit_attachments
 - edit_others_attachments
 - delete_attachments
 - delete_others_attachments

 Currently, attachments rely on the edit_posts capability, which can create
 complications if you don't want your users to see the "Posts" sidebar
 item, or don't want them to be able to delete the attachments they upload.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19834#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list