Closed (fixed)
Project:
Commerce Core
Version:
3.0.x-dev
Component:
Promotions
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2021 at 14:42 UTC
Updated:
2 Dec 2021 at 05:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
upchuk commentedI made a patch that addresses this.
* I remove the access requirement on the View. No other way to remove the permission requirement
* I add the "commerce_promotion.update" _entity_access in the ALTER route subscriber so it comes after the View. Cannot do it in the CouponRouteProvider because of this.
* Added test coverage
Comment #3
upchuk commentedComment #5
jsacksick commentedCommitted to 3.0.x, thanks!