Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#20802 closed enhancement (duplicate)

Add 'use_files' capability (in addition to 'upload_files' capability)

Reported by: joostdekeijzer Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: Media Keywords:
Focuses: Cc:


Currently, all Media related screens, including the 'Add media' button on the edit-post page, are only shown when a user has the 'upload_files' capability.

This means that eg. a contributor can't insert an already existing image in a post.

An additional 'use_files' capability could allow readonly access to files (and attachments) while blocking the upload capability.

Alternatively, maybe the check for 'readonly access' can be done using an existing capability?

This request might be similar to #19834 or #19817 but not quite...

Change History (1)

#1 @scribu
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Actually, this is just a sub-set of #19834. Closing as duplicate and will add a note there.

Note: See TracTickets for help on using tickets.