Ok, I’ve narrowed down to WooCommerces “registering order type” (woocommerce/includes/class-wc-post-types.php):
'show_in_menu' => current_user_can( 'edit_others_shop_orders' ) ? 'woocommerce' : true,
It seems when displaying orders unden ‘woocommerce’ it handles the capabilities different. When replacing the ‘woocommerce’ to just ‘true’ everything works like it should and I’m able to use “customer support” -role like I want and show them only orders and products. But… Obviously the Orders move under WooCommerce to their own menu item in the Dashboard.
-
This reply was modified 4 years, 8 months ago by temposaur.
Yeah, Shop Manager would be almost perfect Role for this, but we don’t want them to access posts/pages and WooCommerce Settings.
It is weird that without 'edit_posts'=> true capability they can edit orders without any problem, but they just can’t create new ones without it.