insert entries in person menu dynamically, according to acl

This commit is contained in:
2018-08-17 13:40:25 +02:00
parent 6e8982958e
commit b4c50bccb4
5 changed files with 105 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
services:
Chill\ActivityBundle\Menu\PersonMenuBuilder:
arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: 'chill.menu_builder' }