WIP: Adjust model, remove manager branch in navigation

This commit is contained in:
Björn Fromme committed 2023-10-07 17:34:40 +02:00
1 parent 25a90b04aa
commit 8740041e7a
30 files changed
+302 -152

No files matched your search

-11
View File
@@ -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')) {