diff --git a/entity/AttributeRelation_entity/grantDeleteProcess.js b/entity/AttributeRelation_entity/grantDeleteProcess.js index 6e445404085795938d5735c51d61f73e865d4176..199bf6a157eee2bd97c55c6065ea0d8d306ebe08 100644 --- a/entity/AttributeRelation_entity/grantDeleteProcess.js +++ b/entity/AttributeRelation_entity/grantDeleteProcess.js @@ -1,4 +1,5 @@ -import("system.result"); +import("Util_lib"); import("system.vars"); +import("system.result"); -result.object(vars.get("$field.PROTECTED") != "true"); \ No newline at end of file +result.string(!Utils.toBoolean(vars.getString("$field.PROTECTED"))); \ No newline at end of file diff --git a/entity/AttributeRelation_entity/grantUpdateProcess.js b/entity/AttributeRelation_entity/grantUpdateProcess.js index 6e445404085795938d5735c51d61f73e865d4176..1bd3067954d8915080f87291f87ba7e06b74bc51 100644 --- a/entity/AttributeRelation_entity/grantUpdateProcess.js +++ b/entity/AttributeRelation_entity/grantUpdateProcess.js @@ -1,4 +1,5 @@ -import("system.result"); +import("Util_lib"); import("system.vars"); +import("system.result"); -result.object(vars.get("$field.PROTECTED") != "true"); \ No newline at end of file +result.string(!Utils.toBoolean(vars.getString("$field.PROTECTED")));