Restrict custom role to not edit/delete shop_manager but customer
-
Here is the scenario:
We have 4 roles.
1. Administrator > Works as usual admin role
2. Shop_manager > WooCommerce Default
3. shop_associate > 1 level lesser than shop_manager, manages customer, cannot manage shop_manager
4. Customer > usual WC defaultQuestion: shop_associate > can only access orders and edit and manage customers.
now problem is , When I am giving edit_users and delete_users capability to it. It can delete shop_manager also. However, I would like to only give edit and delete rights for customer role only to shop associate.
How can I achieve this ?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Restrict custom role to not edit/delete shop_manager but customer’ is closed to new replies.