From 3c1b1c7096dbd9a22ad9a4b950646bb6cfb21e57 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 1 Sep 2022 10:52:41 +0200
Subject: [PATCH] REVERT: remove Directory from roles

---
 src/main/java/org/caosdb/server/entity/Role.java | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/main/java/org/caosdb/server/entity/Role.java b/src/main/java/org/caosdb/server/entity/Role.java
index 2c689500..f86158a9 100644
--- a/src/main/java/org/caosdb/server/entity/Role.java
+++ b/src/main/java/org/caosdb/server/entity/Role.java
@@ -36,8 +36,7 @@ public enum Role {
   File,
   Property,
   DataType,
-  QueryTemplate,
-  Directory;
+  QueryTemplate;
   private static HashMap<Role, EntityID> ids = null;
 
   public static void init(final Access access) throws Exception {
@@ -75,8 +74,4 @@ public enum Role {
         return new EntityToElementStrategy(toString());
     }
   }
-
-  public boolean hasFSODescriptor() {
-    return this == File || this == Directory;
-  }
 }
-- 
GitLab