entry "task list" in person menu is dynamic - based on ACL

This commit is contained in:
2018-07-08 22:37:51 +02:00
parent 8976661b40
commit b4de51a601
4 changed files with 100 additions and 7 deletions

View File

@@ -6,3 +6,10 @@ services:
$translator: '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: 'chill.menu_builder' }
Chill\TaskBundle\Menu\PersonMenuBuilder:
arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: 'chill.menu_builder' }