Make WordPress Core

Opened 9 years ago

Last modified 3 months ago

#19834 new feature request

More Robust Capabilities for Attachments — at Version 3

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

Description (last modified by ocean90)

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 (3)

#2 in reply to: ↑ description @DrewAPicture
9 years ago

  • Cc xoodrew@… added
  • Keywords needs-patch added

Replying to walkinonwat3r:


I agree. Editing posts and editing attachments/media are mutually exclusive. It makes little sense to allow users caps to upload media but not edit it without having to grant them the ability to also edit posts. +1

#3 @ocean90
9 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.