Title: User role control
Last modified: January 19, 2021

---

# User role control

 *  Resolved [archesis](https://wordpress.org/support/users/anchises/)
 * (@anchises)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/user-role-control/)
 * Great plugin, however it lacks control over what different user roles can do.
   Right now **anyone can replace any file**, not just his own. Sure, an error message
   is displayed, but the image is uploaded and replaced anyway. “User Role Editor”
   doesn’t help.
 * Would be nice to set the access level based on a capability, like “manage_options”.
 * If it can’t be done selectively (e.g. a contributor is able to replace his files
   but not others), then please at least allow to disable the whole “replace media”-
   option for non-authorized user roles in general. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/user-role-control/#post-13931171)
 * Hi [@anchises](https://wordpress.org/support/users/anchises/),
 * Thanks for your message; we will internally discuss if and how to implement this
   🙂
 * Have a good one!
 *  [whereverpanda](https://wordpress.org/support/users/whereverpanda/)
 * (@whereverpanda)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/user-role-control/#post-13963045)
 * I would like to request this as well. This is a brilliant plugin but having the
   site say ‘Sorry, you are not allowed to edit this item.’ when they actually can,
   is not helpful. I need my site to allow people to replace the attachments without
   renaming them and if the site brings up that message, even though it IS working,
   is not good.
 * Do you have any idea how to make it not say ‘Sorry, you are not allowed to edit
   this item.’ but instead just let it function in the normal way (eg a success 
   message)?
 * Thanks!
 *  Thread Starter [archesis](https://wordpress.org/support/users/anchises/)
 * (@anchises)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/user-role-control/#post-13964513)
 * User roles, which are only allowed to edit their own files (author, contributer),
   shouldn’t be able to overwrite files of other users. The option to re-upload 
   such files shouldn’t even be accessible, which should be the default behaviour,
   there is no need for any messages in the first place.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘User role control’ is closed to new replies.

 * ![](https://ps.w.org/enable-media-replace/assets/icon-256x256.png?rev=1940728)
 * [Enable Media Replace](https://wordpress.org/plugins/enable-media-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enable-media-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enable-media-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/enable-media-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enable-media-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enable-media-replace/reviews/)

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [capability](https://wordpress.org/support/topic-tag/capability/)
 * [contributor](https://wordpress.org/support/topic-tag/contributor/)
 * [control](https://wordpress.org/support/topic-tag/control/)

 * 3 replies
 * 3 participants
 * Last reply from: [archesis](https://wordpress.org/support/users/anchises/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/user-role-control/#post-13964513)
 * Status: resolved