[wp-trac] [WordPress Trac] #29212: Distraction-free Writing: hide Add Media button for users without `upload_files` capability

WordPress Trac noreply at wordpress.org
Thu Aug 14 06:56:05 UTC 2014


#29212: Distraction-free Writing: hide Add Media button for users without
`upload_files` capability
--------------------------+-----------------------------
 Reporter:  lancewillett  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  ui            |
--------------------------+-----------------------------
 Similar to #28327, contributor users should not be able to see the "Add
 Media" button in Distraction Free Writing.

 It causes user confusion because they can see the button, load the Media
 Library view, but cannot upload or use existing images.

 To repeat:
 1. Log in as a contributor user.
 2. Edit a post (or start a new post)
 3. Switch to Distraction Free Writing mode
 4. View the "Add New Media" button in the editor tools

 Screenshots and a screencast attached.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29212>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list