Change WordPress user roles and capabilities › Forums › Give user access to plugin – how to › Access to all plugins except WooCommerce? › Reply To: Access to all plugins except WooCommerce?
Yes, ‘Admin menu’ works in read-only mode for the ‘Administrator’ role, as we should not restrict site administrator.
Create for a new role as a copy of administrator role. Revoke from it unneeded capabilities, like manage_options. We should minimize access using capabilities 1st, whenever it’s possible.
Open “admin menu” window for ‘administrator’ or ‘shop_manager’ role, look what capabilities protect WooCommerce related menus. Revoke from a new role unneeded capabilities.
After then open admin menu window for this new role and block the rest of menu items which you can not remove using capabilities.