diff --git a/entity/Person_entity/grantDeleteProcess.js b/entity/Person_entity/grantDeleteProcess.js index 827f19abd10f6b34004342f0671139cea6643f30..676ab47574795a8980e5cca4c0dc93a98ee5a9ee 100644 --- a/entity/Person_entity/grantDeleteProcess.js +++ b/entity/Person_entity/grantDeleteProcess.js @@ -5,7 +5,8 @@ import("Document_lib"); import("system.vars"); import("system.result"); -// TODO: Commented because of performance problems: in Filter view this Process is called for every row. Waiting for bugfix +// TODO: #1 Commented because of performance problems: in Filter view this Process is called for every row. Waiting for bugfix +// TODO: #2 add request for the use-case: Is the person contact an employee? -> no grant to delte! //result.string(!DocumentUtil.hasDocuments("CONTACT", null, vars.get("$field.CONTACTID")) // && !TaskUtils.hasTasks(vars.get("$field.CONTACTID"), ContextUtils.getCurrentContextId()) // && !ActivityUtils.hasActivities(vars.get("$field.CONTACTID"), ContextUtils.getCurrentContextId())); \ No newline at end of file