title | issue | author | author_email | author_github |
---|---|---|---|---|
Prevent assignment of sales channel context to customer if permissions are set |
NEXT-21315 |
Nils Evers |
NilsEvers |
- Changed
\Shopware\Core\System\SalesChannel\SalesChannel\ContextSwitchRoute::switchContext
to only assign theSalesChannelContext
to a customer if no permissions are set on the context. This prevents customers from being able to obtain permissions from an API call.