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

WordPress Trac wp-trac at lists.automattic.com
Thu May 31 10:36:30 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 scribu:

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:

 - read_attachments
 - 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:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list