We have the role of “Shop Manager” assigned to a user but when they go to create a new coupon they receive an “You are not allowed to access this page” error message.
– “Create” capability for posts/pages/custom post types is active
– Custom Post Types “Create shop coupons” capability has been added to shop manager
– “create_posts” and “create_pages” capabilities have also been added to shop manager
Generally, a role with just 21 capabilities: read, view_admin_dashboard and all 18 caps from the “Custom Post Types->Coupons” group provides access for working with WooCommerce coupons and adding a new coupon:
Try to deactivate all plugins and re-test. If some plugin prevents creating a new coupon, activate plugins back one by one to isolate a conflict.