[wp-trac] [WordPress Trac] #19834: More Robust Capabilities for Attachments
WordPress Trac
noreply at wordpress.org
Tue Jul 9 03:35:19 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 |
-----------------------------+------------------------------
Changes (by BandonRandon):
* cc: BandonRandon (added)
Comment:
+1 but not sure if attachment is the right prefix. It seems that
`edit_files` and `upload_files` allows for everything except for delete
files which appears to be done with `delete_posts` and
`delete_others_post` so maybe the only real capability we need to add is
`delete_files`
Whatever the solution it would be great to see this fixed not sure why I
have to give my custom role (which doesn't have access to post) the
capability of `delete_post` to delete files.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19834#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list