The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Fixed RoleHierarchy implementation

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
master
Gergely Polonkai (W00d5t0ck) 10 years ago
parent c76fbd0ad9
commit bcb199e0de
  1. 2
      src/KekRozsak/SecurityBundle/Service/RoleHierarchy.php

@ -43,7 +43,7 @@ class RoleHierarchy implements RoleHierarchyInterface
$roles = $this->roleRepo->findAll();
foreach ($roles as $mainRole) {
$main = $mainRole->getRole();
$this->map[$main] = array();
$this->map[$main] = array($main);
foreach ($mainRole->getInheritedRoles() as $childRole) {
$this->map[$main][] = $childRole->getRole();
// TODO: This is one-level only. Get as deep as possible.

Loading…
Cancel
Save