- // we do not show the base level
- for (HierarchyUnit hu : directory.getDirectHierarchyUnits(true)) {
+ // TODO show base level
+ }
+ for (HierarchyUnit hu : directory.getDirectHierarchyUnits(true)) {
+ if (CurrentUser.implies(CmsRole.userAdmin, hu.getBase())) {