title | issue |
---|---|
Adding ACL for Routes |
NEXT-10714 |
- Added
Shopware\Core\Framework\Api\Controller\AclController
to provide all core privileges - Added
Shopware\Core\Framework\Routing\Annotation\Acl
toShopware\Core\System\SystemConfig\Api\SystemConfigController
,Shopware\Core\Framework\Api\Controller\AclController
,Shopware\Core\Framework\Api\Controller\CacheController
andShopware\Core\Framework\Api\Controller\UserController
- Added Event
Shopware\Core\Framework\Api\Acl\Event\AclGetAdditionalPrivilegesEvent
- Added ACL permission check to protected Routes. A user needs to have admin rights or needs the route privilege to call a protected route.
- Added
sw-users-permissions-detailed-additional-permissions
component - Added
acl.api.service.js
to get core privileges