WIP: Implement role house manager and feedback providing
This commit is contained in:
1 parent
538d39f63e
commit
d5da0d10d5
23 files changed
+576
-37
No files matched your search
@@ -99,6 +99,17 @@ abstract class AbstractMenuBuilder
|
||||
}
|
||||
}
|
||||
|
||||
protected function addHouseManagerItem(ItemInterface $menu): void
|
||||
{
|
||||
if ($this->security->isGranted('ROLE_HOUSE_MANAGER')) {
|
||||
$menu
|
||||
->addChild('zum Hausmanagerbereich', ['route' => 'app_house_manager_index'])
|
||||
->setChildrenAttribute('title', 'zum Hausmanagerbereich')
|
||||
->setExtra('icon', 'user')
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
protected function addLogoutItem(ItemInterface $menu): void
|
||||
{
|
||||
$token = $this->security->getToken();
|
||||
|
||||
Reference in new issue
Block a user