Title: Custom role required
Last modified: July 11, 2021

---

# Custom role required

 *  [lenamtl](https://wordpress.org/support/users/lenamtl/)
 * (@lenamtl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/)
 * Hi,
 * I need to set a user role for order manager as shop manager has to many rigths.
   
   The problem is that the role I created is too limited.
 * Missing role permission for this user in order to be able to
    – add a coupon 
   code to an existing order? – add a product that is a variable to an existing 
   order? – add a new order?
 * I want to prevent this user to add/edit/delete Product and Coupon
 * I have created a custom role
    with these permissions, let me know what is missing
   in order to get the role permissions as required.
 * view_admin_dashboard
    read
 * assign_shop_order_terms
    delete_others_shop_orders delete_private_shop_orders
   delete_published_shop_orders delete_shop_order delete_shop_order_terms delete_shop_orders
   edit_others_shop_orders edit_private_shop_orders edit_published_shop_orders edit_shop_order
   edit_shop_order_terms edit_shop_orders manage_shop_order_terms publish_shop_orders
   read_private_shop_orders read_shop_order
 * Thanks
 * Please do not just refer a plugin I need to understand the missing permissions,
   thanks
    -  This topic was modified 4 years, 10 months ago by [lenamtl](https://wordpress.org/support/users/lenamtl/).

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648480)
 * I recommend asking at [https://wordpress.org/support/plugin/woocommerce/#new-post](https://wordpress.org/support/plugin/woocommerce/#new-post)
   so the plugin’s developers and support community can help you with this.
 *  Thread Starter [lenamtl](https://wordpress.org/support/users/lenamtl/)
 * (@lenamtl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648587)
 * I added
 * read_product so the role can add a product
 * I cannot figure out the permission for
 * – add a coupon code to an existing order?
    – add a new order?
    -  This reply was modified 4 years, 10 months ago by [lenamtl](https://wordpress.org/support/users/lenamtl/).
 *  Thread Starter [lenamtl](https://wordpress.org/support/users/lenamtl/)
 * (@lenamtl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648687)
 * I’m looking for the add coupon capability with no luck
 * It is not related to the extention itself it is just not documented anywhere 
   WP Woo…
 * To my opinion it’s not making sense that the store manager or other role that
   can edit an order cannot add a coupon.
 * This is possible to remove a coupon but it is not possible to add one to the 
   existing order..
 * In my case the coupon is applied based on subtotal and if the product qty is 
   changed on the existing order the coupon logical is not update and make no sense.
 * I just don’t know how store owner manage this if they are not admin?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648713)
 * As I said above, I recommend asking at [https://wordpress.org/support/plugin/woocommerce/#new-post](https://wordpress.org/support/plugin/woocommerce/#new-post)
   so the plugin’s developers and support community can help you with this.
 *  Thread Starter [lenamtl](https://wordpress.org/support/users/lenamtl/)
 * (@lenamtl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648771)
 * I did already, anyway this is a genreric Woocommerce question it should be documented
   somewhere…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648979)
 * Ask the Woocommerce folks. This is the wrong part of the forum for that.

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

The topic ‘Custom role required’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/custom-role-required/#post-14648979)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
