Title: Capabilities? User Roles?
Last modified: October 26, 2020

---

# Capabilities? User Roles?

 *  Resolved [questionabout](https://wordpress.org/support/users/questionabout/)
 * (@questionabout)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/)
 * Hello, I have a shop manager and I want to let him edit the payment information(
   allow the click on the eye in order details). Newer version disabled that option,
   wondering if there is a specific capability name I need to enable for that function?
   
   See below how Gravity Forms has done it: [https://docs.gravityforms.com/role-management-guide/#gravity-forms-capabilities](https://docs.gravityforms.com/role-management-guide/#gravity-forms-capabilities)

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13579196)
 * Hi [@questionabout](https://wordpress.org/support/users/questionabout/),
 * Thank you for contacting us. The capability required for that function is “manage_woocommerce”.
 * I believe it appears as shop_manager. Is your shop manager not able to click 
   the icon in the order details in the current version?
 * Kind regards,
 *  Thread Starter [questionabout](https://wordpress.org/support/users/questionabout/)
 * (@questionabout)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13579200)
 * Yes. They can’t click on the icon. If I allow manage_woocommerce then they can
   change WooCommerce settings which I don’t really want. Wanted to see if there
   is another way to do it without giving too much access.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13579201)
 * Hi [@questionabout](https://wordpress.org/support/users/questionabout/)
 * Thank you for clarifying. I will review the code for that feature and get back
   to you on whether or not that’s possible.
 * Kind regards
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13582837)
 * Hi [@questionabout](https://wordpress.org/support/users/questionabout/),
 * I took a look at the code and restricting access to the transaction view would
   require some additions to be made to the plugin. Currently the plugin relies 
   on the roles provided by WooCommerce.
 * Look at the WooCommerce capabilities, I see several that look promising like 
   the read/write access to orders. That way a shop manager could perform those 
   functions but not access the settings. I will need to test that further.
 * I don’t have time to include something like that in the next release coming out
   in 2 days but I will keep you updated.
 * Kind Regards,
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13607565)
 * Hi [@questionabout](https://wordpress.org/support/users/questionabout/),
 * I like your suggestion and will be including a capability check of `edit_shop_orders`
   to the order actions. That way, you don’t have to grant `manage_woocommerce` 
   to your shop manager.
 * That will be in the next release coming out this afternoon.
 * Kind Regards,
 *  Thread Starter [questionabout](https://wordpress.org/support/users/questionabout/)
 * (@questionabout)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13607570)
 * Superawesome! Thanks!
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13608382)
 * Hi [@questionabout](https://wordpress.org/support/users/questionabout/),
 * Version 3.2.10 released.
 * Kind Regards,

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

The topic ‘Capabilities? User Roles?’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/capabilities-user-roles/#post-13608382)
 * Status: resolved