|
@@ 42-48 (lines=7) @@
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
if ($this->security->isGranted("CAN_VIEW", UserEntity::class)) { |
| 43 |
|
$cacheMenu = $menu->addChild('cache', [ |
| 44 |
|
'label' => 'Caches', |
| 45 |
|
'route' => 'backend_user_index', |
| 46 |
|
'childOptions' => $event->getChildOptions(), |
| 47 |
|
])->setLabelAttribute('icon', 'fas fa-map-marker-alt'); |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
if ($this->security->isGranted("CAN_VIEW", UserEntity::class)) { |
| 51 |
|
$userMenu = $menu->addChild('user', [ |
|
@@ 50-56 (lines=7) @@
|
| 47 |
|
])->setLabelAttribute('icon', 'fas fa-map-marker-alt'); |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
if ($this->security->isGranted("CAN_VIEW", UserEntity::class)) { |
| 51 |
|
$userMenu = $menu->addChild('user', [ |
| 52 |
|
'label' => 'Benutzer', |
| 53 |
|
'route' => 'backend_user_index', |
| 54 |
|
'childOptions' => $event->getChildOptions(), |
| 55 |
|
])->setLabelAttribute('icon', 'fas fa-users'); |
| 56 |
|
} |
| 57 |
|
} |
| 58 |
|
} |
| 59 |
|
|