WIP: Adjust model, remove manager branch in navigation
This commit is contained in:
1 parent
25a90b04aa
commit
8740041e7a
30 files changed
+302
-152
No files matched your search
@@ -88,17 +88,6 @@ abstract class AbstractMenuBuilder
|
||||
}
|
||||
}
|
||||
|
||||
protected function addManagerItem(ItemInterface $menu): void
|
||||
{
|
||||
if ($this->security->isGranted('ROLE_MANAGER')) {
|
||||
$menu
|
||||
->addChild('Managerbereich', ['route' => 'app_manager_index'])
|
||||
->setChildrenAttribute('title', 'Managerbereich')
|
||||
->setExtra('icon', 'user')
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
protected function addTeamerItem(ItemInterface $menu): void
|
||||
{
|
||||
if ($this->security->isGranted('ROLE_TEAMER')) {
|
||||
|
||||
Reference in new issue
Block a user