Fixed
Project:
Commerce Core
Version:
3.x-dev
Component:
Promotions
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2026 at 13:00 UTC
Updated:
3 Nov 2026 at 13:24 UTC
Jump to comment: Most recent
The coupon generate route (/promotion/{commerce_promotion}/coupons/generate) only checks the bulk generate commerce_promotion_coupon permission. Add _entity_access: 'commerce_promotion.update' so generating coupons also requires update access to the promotion, consistent with the add coupon route, which already requires commerce_promotion.update.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jsacksick commentedComment #5
jsacksick commented