Repository navigation
Release v2.11.2
v2.11.2
Changelog
Permission checkers registered by class name are auto-tagged instead of falling back to allow-all. See UPGRADING.
Fixed
AutoTagPermissionCheckersPassskipped every definition whose service id equals its class name — the default with Symfony resource loading (App\:inservices.yaml) — so host checkers implementingMenuPermissionCheckerInterfacewere never taggednowo_dashboard_menu.permission_checker, were missing from the permission-checker locator, andMenuTreeLoadersilently fell back toAllowAllMenuPermissionChecker(every item visible whatever its permission keys). The pass now uses the service id as the class when the definition has none and tags these definitions; abstract, synthetic, deprecated and.instanceof.definitions are still skipped, and an explicit tag keeps its label. See UPGRADING.
What's Changed
- fix(di): auto-tag permission checkers whose service id is their class name by @HecFranco in #88
Full Changelog: v2.11.1...v2.11.2