WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 4 days ago

#19834 new feature request

More Robust Capabilities for Attachments — at Initial Version

Reported by: walkinonwat3r Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

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.

Change History (0)

Note: See TracTickets for help on using tickets.