Something went wrong on our end
-
Simon Leipold authored
[Projekt: Entwicklung - Neon][TicketNr.: 1048120][Löschen einer Rolle entfernt nicht die zugehörigen Permissions]
Simon Leipold authored[Projekt: Entwicklung - Neon][TicketNr.: 1048120][Löschen einer Rolle entfernt nicht die zugehörigen Permissions]
Role_entity.aod 8.14 KiB
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.13" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.13">
<name>Role_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Role_entity/documentation.adoc</documentation>
<icon>VAADIN:USER_CHECK</icon>
<title>Roles</title>
<grantUpdateProcess>%aditoprj%/entity/Role_entity/grantUpdateProcess.js</grantUpdateProcess>
<grantDeleteProcess>%aditoprj%/entity/Role_entity/grantDeleteProcess.js</grantDeleteProcess>
<contentTitleProcess>%aditoprj%/entity/Role_entity/contentTitleProcess.js</contentTitleProcess>
<iconId>VAADIN:USER_CHECK</iconId>
<usePermissions v="true" />
<titlePlural>Roles</titlePlural>
<recordContainer>jDito</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityField>
<name>ROLETITLE</name>
<title>Title</title>
<mandatory v="true" />
</entityField>
<entityField>
<name>ROLETYPE</name>
<title>Type</title>
</entityField>
<entityField>
<name>ROLEDESCRIPTION</name>
<title>Description</title>
</entityField>
<entityField>
<name>ROLENAME</name>
<title>Name</title>
<mandatory v="true" />
<stateProcess>%aditoprj%/entity/Role_entity/entityfields/rolename/stateProcess.js</stateProcess>
</entityField>
<entityField>
<name>USERCOUNT</name>
<title>Amount</title>
</entityField>
<entityConsumer>
<name>Permissions</name>
<dependency>
<name>dependency</name>
<entityName>PermissionDetail_entity</entityName>
<fieldName>Permissions</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleTitle_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/permissions/children/roletitle_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>PermissionOverviews</name>
<dependency>
<name>dependency</name>
<entityName>PermissionOverview_entity</entityName>
<fieldName>PermissionOverviews</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleTitle_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/permissionoverviews/children/roletitle_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityProvider>
<name>Roles</name>
<recordContainer>jDito</recordContainer>
<dependencies>
<entityDependency>
<name>64d800d0-4db5-4b95-ab6a-9197b83cc09c</name>
<entityName>PermissionDetail_entity</entityName>
<fieldName>Roles</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>6d8db50e-e86f-4ebb-bb63-b520f84acca1</name>
<entityName>RoleChildren_entity</entityName>
<fieldName>Roles</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>23ceb9b3-429c-4381-9ae2-bd23d9d08d42</name>
<entityName>RoleParent_entity</entityName>
<fieldName>Roles</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
<name>ExcludeRoles_param</name>
<expose v="false" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
<name>ExcludeRoles_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/excluderoles_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityProvider>
<name>FilteredRoles</name>
<dependencies>
<entityDependency>
<name>a31b8e4d-fa44-46ea-89a7-e3f9d659cfea</name>
<entityName>EmployeeRole_entity</entityName>
<fieldName>Roles</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>6d7b7a16-e958-4f9d-9108-81a42257d65e</name>
<entityName>Employee_entity</entityName>
<fieldName>PossibleRoles</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
</entityProvider>
<entityField>
<name>IS_ASSIGNABLE</name>
<title>is assignable</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/Role_entity/entityfields/is_assignable/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/is_assignable/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>UID</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/uid/valueProcess.js</valueProcess>
</entityField>
<entityConsumer>
<name>RoleChildrens</name>
<onValidation>%aditoprj%/entity/Role_entity/entityfields/rolechildrens/onValidation.js</onValidation>
<dependency>
<name>dependency</name>
<entityName>RoleChildren_entity</entityName>
<fieldName>RoleChildrens</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleId_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/rolechildrens/children/roleid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>deleteEverythingLinkedToRole</name>
<title>delete linked permissions and hierarchies</title>
<onActionProcess>%aditoprj%/entity/Role_entity/entityfields/deleteeverythinglinkedtorole/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CLOSE</iconId>
<stateProcess>%aditoprj%/entity/Role_entity/entityfields/deleteeverythinglinkedtorole/stateProcess.js</stateProcess>
</entityActionField>
<entityConsumer>
<name>RoleParents</name>
<dependency>
<name>dependency</name>
<entityName>RoleParent_entity</entityName>
<fieldName>RoleParents</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleId_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/roleparents/children/roleid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jDito</name>
<jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias>
<isFilterable v="true" />
<contentProcess>%aditoprj%/entity/Role_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Role_entity/recordcontainers/jdito/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Role_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Role_entity/recordcontainers/jdito/onDelete.js</onDelete>
<recordFieldMappings>
<jDitoRecordFieldMapping>
<name>UID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLENAME.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLETITLE.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLETYPE.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLEDESCRIPTION.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>USERCOUNT.value</name>
<isFilterable v="false" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>IS_ASSIGNABLE.value</name>
</jDitoRecordFieldMapping>
</recordFieldMappings>
</jDitoRecordContainer>
</recordContainers>
</entity>