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

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

Comment (by scribu):

 Replying to [comment:8 mtwelve]:
 > I have a CPT that requires files to be attached to it. The person in
 charge of this CPT doesn't need any access to Posts but even if I hide the
 menu items they will still be able to access those sections.

 You can assign different capabilities for that CPT by using the
 'capabilities' option from register_post_type().

 In general, the capabilities for editing a CPT are already separate from
 those required to edit attachments, so this ticket doesn't really help
 you.

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


More information about the wp-trac mailing list