Skip to content
Snippets Groups Projects
Commit 8273452e authored by Simon Leipold's avatar Simon Leipold
Browse files

Permission - creation of full permissions only possible for entity access level

parent 7e18d672
No related branches found
No related tags found
No related merge requests found
......@@ -205,6 +205,7 @@
<name>FULLPERMISSIONS</name>
<title>Full Permissions</title>
<contentType>BOOLEAN</contentType>
<stateProcess>%aditoprj%/entity/PermissionDetail_entity/entityfields/fullpermissions/stateProcess.js</stateProcess>
</entityField>
</entityFields>
<recordContainers>
......
import("system.result");
import("system.neon");
import("system.vars");
if (vars.get("$field.ACCESSTYPE") == "E") {
result.string(neon.COMPONENTSTATE_EDITABLE);
} else {
result.string(neon.COMPONENTSTATE_INVISIBLE);
}
\ 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