diff --git a/entity/AttributeRelation_entity/AttributeRelation_entity.aod b/entity/AttributeRelation_entity/AttributeRelation_entity.aod index 589422ad9084ab870f41c88b5f7886091e408f04..9b293dd144d76d7173bc25088c4be481e7fcc07f 100644 --- a/entity/AttributeRelation_entity/AttributeRelation_entity.aod +++ b/entity/AttributeRelation_entity/AttributeRelation_entity.aod @@ -4,6 +4,7 @@ <majorModelMode>DISTRIBUTED</majorModelMode> <documentation>%aditoprj%/entity/AttributeRelation_entity/documentation.adoc</documentation> <title>Attribute</title> + <grantUpdateProcess>%aditoprj%/entity/AttributeRelation_entity/grantUpdateProcess.js</grantUpdateProcess> <grantDeleteProcess>%aditoprj%/entity/AttributeRelation_entity/grantDeleteProcess.js</grantDeleteProcess> <titlePlural>Attributes</titlePlural> <recordContainer>jdito</recordContainer> diff --git a/entity/AttributeRelation_entity/grantUpdateProcess.js b/entity/AttributeRelation_entity/grantUpdateProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..6e445404085795938d5735c51d61f73e865d4176 --- /dev/null +++ b/entity/AttributeRelation_entity/grantUpdateProcess.js @@ -0,0 +1,4 @@ +import("system.result"); +import("system.vars"); + +result.object(vars.get("$field.PROTECTED") != "true"); \ No newline at end of file