title | issue | author | author_email | author_github |
---|---|---|---|---|
Secure proxy route to switch customer with ACL |
NEXT-20305 |
Frederik Schmitt |
fschmtt |
- Added migration
Shopware\Core\Migration\V6_4\Migration1646397836UpdateRolePrivilegesOfOrderCreator
for updating existing ACL roles
- Changed route
api.proxy.switch-customer
to require the newly added privilegeapi_proxy_switch-customer
- Changed role
order.creator
to require privilegeapi_proxy_switch-customer
insrc/module/sw-order/acl/index.js
- Added
sw-privileges.additional_permissions.routes.api_proxy_switch-customer
insrc/module/sw-users-permissions/snippet/de-DE.json
- Added
sw-privileges.additional_permissions.routes.api_proxy_switch-customer
insrc/module/sw-users-permissions/snippet/en-GB.json
If you want to use the route api.proxy.switch-customer
you MUST have the privilege api_proxy_switch-customer
.