title | issue |
---|---|
ACLs for app system |
NEXT-14362 |
- Added ACL to my-apps module
- Added new service
AppAclService
which is responsible to add app permissions - Changed method
getNavigationFromApp
insrc/app/service/menu.service.js
to add privilege to the app navigation - Changed method
additionalPermissions
and added methodappPermissions
insrc/module/sw-users-permissions/components/sw-users-permissions-additional-permissions/index.js
to getappPermissions
- Added block
sw_users_permissions_additional_permissions_app_privileges
insrc/module/sw-users-permissions/components/sw-users-permissions-additional-permissions/sw-users-permissions-additional-permissions.html.twig
- Added a new Migration
src/Core/Migration/Migration1625304609UpdateRolePrivileges.php
that update acl role privileges - Changed method
install
insrc/Core/Framework/App/Lifecycle/AppLifecycle.php
to add app privileges to acl role privileges - Changed method
validate
insrc/Core/Framework/Api/Acl/AclAnnotationValidator.php
to validate acl privileges for app