title | issue | author | author_email | author_github |
---|---|---|---|---|
validate order create discount privilege and generally in proxy endpoints |
NEXT-15171 |
d.neustadt |
dneustadt |
- Added
AdminSalesChannelApiSource
to pass original context toAclWriteValidator
. Fixes an issue where priviliges would not be validated as a newSalesChannelContext
is created inSalesChannelProxyController
which would lead to the context source not being an instance ofAdminApiSource
, ultimately circumventing the validation. - Added
CommandAclValidationEvent
to dispatch acl commands for additional validation - Added
CreditOrderLineItemListener
to check fororder:create:discount
on acl write command of credit order line items