diff --git a/app/library/Services.php b/app/library/Services.php index c6b8ef3..a6157f5 100644 --- a/app/library/Services.php +++ b/app/library/Services.php @@ -289,7 +289,8 @@ class Services extends DiDefault $menu = new Menu($navigation); $menu->setMenuClass(null); if ($this->get('auth')->hasIdentity()) { - $menu->setAclRole(Acl::ROLE_USER); + $type = $this->get('auth')->getIdentity()->getType(); + $menu->setAclRole($type); } else { $menu->setAclRole(Acl::ROLE_GUEST); }