Skip to content
Snippets Groups Projects
Commit db027f36 authored by j.goderbauer's avatar j.goderbauer Committed by Johannes Goderbauer
Browse files

person_entity: grantDelete -> added comment

(cherry picked from commit 2a4565c1)
parent 6e60f077
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment