diff --git a/entity/Role_entity/Role_entity.aod b/entity/Role_entity/Role_entity.aod index 82bc56f08e993e369d264cac45d9c6bad35e0a7b..cb7d090b6506b259734f2a52ee4e40639f896c31 100644 --- a/entity/Role_entity/Role_entity.aod +++ b/entity/Role_entity/Role_entity.aod @@ -41,6 +41,12 @@ </entityField> <entityConsumer> <name>TheirPermissions</name> + <children> + <entityParameter> + <name>RoleTitle_param</name> + <valueProcess>%aditoprj%/entity/Role_entity/entityfields/theirpermissions/children/roletitle_param/valueProcess.js</valueProcess> + </entityParameter> + </children> <dependency> <name>dependency</name> <entityName>PermissionDetail_entity</entityName> diff --git a/entity/Role_entity/entityfields/theirpermissions/children/roletitle_param/valueProcess.js b/entity/Role_entity/entityfields/theirpermissions/children/roletitle_param/valueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..7b3054d1905ef4ec956c69802f6cc103966b4d08 --- /dev/null +++ b/entity/Role_entity/entityfields/theirpermissions/children/roletitle_param/valueProcess.js @@ -0,0 +1,4 @@ +import("system.vars"); +import("system.result"); + +result.string(vars.get("$field.ROLENAME")); \ No newline at end of file