WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#20306 closed enhancement (duplicate)

Media uploader enhancement

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

Description

I am using a plugin called "Capability Manager" that allows me to customize the roles and capabilities of my WP installation.

Think that a role has "upload_files" capability and don't have "edit_posts" capability. If a user in that role tries to upload an image, he can do it successfully, but the form he can edit the attachment doesn't appear. Everything is OK for now.

But, "Add to Post" button doesn't appear as well and "crunching..." message hangs.

So media uploader UI needs an enhancement that if a user doesn't have "edit_posts" capability, only a button like "add to editor" will appear.

If you wonder about why I need an "add to editor" button if user cannot edit posts, let me explain; I use "wp_editor" function in frontend and I don't desire to allow user to access "posts" screen in backend.

Yes, I love using WP as a highly-customizable CMS :)

Change History (2)

comment:1 @fonemi3 years ago

By the way, problem occurs only for Flash uploader.

comment:2 @helenyhou3 years ago

  • Keywords ui-feedback needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate: #19817. Related: #19834

Note: See TracTickets for help on using tickets.