Title: User Role Editor
Last modified: April 10, 2020

---

# User Role Editor

 *  [StefanPeeters](https://wordpress.org/support/users/stefanpeeters/)
 * (@stefanpeeters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/user-role-editor-15/)
 * Hi,
 * I installed User Role Editor. I am pleased with it for now and would recommend
   it but I do have some questions. I installed a woocommerce site for someone but
   don’t want to give full admin permisions. Instead I made her as build-in role‘
   Shop manager’ and start testing by enable/disable some permissions. The goal 
   is to let her just manage the woocommerce store and nothing else. In User Editor
   Role I had to enable ‘Edit Posts’ to give her the ability to add new coupons.
   By doing that she now sees more than planned in the menu on the left site of 
   wordpress.
    In attachment I uploaded 4 images that I like for her not to see.
   Does anyone can help me with that?
 * I would be a very happy person if someone could help me fixing this!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/user-role-editor-15/#post-12675732)
 * Hi,
 * This is happened be cause of WooCommerce places ‘Coupons’ menu item under its
   own custom menu, instead of allow it to be the separate custom post type menu,
   e.g. it does for the ‘Products’. But when you click ‘Add new’ button it tries
   to call post-new.php?post_type=shop_coupon, which is not linked to any admin 
   menu item. For this reason WordPress denies access to the page, while real permissions
   required are ‘edit_shop_coupons’, etc., not ‘edit_posts’.
 * ‘edit_posts’ allows access to the ‘Posts->Add New’ menu item with link post-new.
   php, which WordPress tries to check in this case. So you can not revoke ‘edit_posts’
   if you need to leave ability to add new coupons.
 * Workaround is to hide unneeded admin menu items using other tools, not via user
   permissions. You may use for this User Role Editor Pro -> Admin menu access add-
   on, or Admin Menu Editor.

Viewing 1 replies (of 1 total)

The topic ‘User Role Editor’ is closed to new replies.

 * ![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)
 * [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-role-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-role-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/user-role-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-role-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-role-editor/reviews/)

## Tags

 * [permissions](https://wordpress.org/support/topic-tag/permissions/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/user-role-editor-15/#post-12675732)
 * Status: not resolved