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

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

parent 1d48d4ab
No related branches found
No related tags found
No related merge requests found
...@@ -205,6 +205,7 @@ ...@@ -205,6 +205,7 @@
<name>FULLPERMISSIONS</name> <name>FULLPERMISSIONS</name>
<title>Full Permissions</title> <title>Full Permissions</title>
<contentType>BOOLEAN</contentType> <contentType>BOOLEAN</contentType>
<stateProcess>%aditoprj%/entity/PermissionDetail_entity/entityfields/fullpermissions/stateProcess.js</stateProcess>
</entityField> </entityField>
</entityFields> </entityFields>
<recordContainers> <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