diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/context/security/SecurityContext.java b/src/main/java/org/gcube/informationsystem/resourceregistry/context/security/SecurityContext.java index 28b6038..1381099 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/context/security/SecurityContext.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/context/security/SecurityContext.java @@ -212,7 +212,7 @@ public class SecurityContext { private synchronized OrientGraphFactory getFactory(PermissionMode permissionMode, boolean recreate) { OrientGraphFactory factory = null; - Boolean h = hierarchic && isHierarchicMode(); + Boolean h = isHierarchicMode(); Map factories = factoryMap.get(h); if(factories == null) {