From 6585b3fff98e1c66c0055d846f0b5e9ea38a3fa2 Mon Sep 17 00:00:00 2001
From: Simon Leipold <s.leipold@adito.de>
Date: Fri, 7 Jun 2019 10:34:56 +0200
Subject: [PATCH] Permissions - bugfix for conditional permissions

---
 .../entityfields/condition/stateProcess.js                      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entity/PermissionDetail_entity/entityfields/condition/stateProcess.js b/entity/PermissionDetail_entity/entityfields/condition/stateProcess.js
index f6b4510443..ad11617966 100644
--- a/entity/PermissionDetail_entity/entityfields/condition/stateProcess.js
+++ b/entity/PermissionDetail_entity/entityfields/condition/stateProcess.js
@@ -5,5 +5,5 @@ import("system.neon");
 if(vars.get("$field.ACCESSTYPE") == "E") {
     result.string(neon.COMPONENTSTATE_DISABLED);
 } else {
-    result.string(neon.COMPONENTSTATE_AUTO);
+    result.string(neon.COMPONENTSTATE_EDITABLE);
 }
\ No newline at end of file
-- 
GitLab