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

WordPress Trac noreply at wordpress.org
Mon Aug 26 13:13:01 UTC 2013


#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      |
-----------------------------+------------------------------

Comment (by wesrice):

 +1 for better capability association with media.

 We know that technically speaking, attachments are posts, which from what
 I can tell is the reasoning for having to add a capability of 'edit_posts'
 for a user to be able to edit attachments to begin with.

 However, attachments are a custom post type. They have different
 properties than the posts post type. Pages are a different post type and
 have separate capabilities, so why wouldn't attachments?

 The existence of a custom capability for 'edit_files' is a logical
 assumption by developers that should be honored from a user experience
 perspective.

 Also, a better naming convention of attachments vs files seems appropriate
 given the current state of WP.

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


More information about the wp-trac mailing list