Add junction entities and ACL for CAICollection, CAdvowareAkten, and CPulsTeam

- Introduced new junction entities: CAICollectionCDokumente, CAdvowareAktenCDokumente, and CPulsTeamZuordnung.
- Implemented respective controllers and services for handling CRUD operations.
- Added metadata definitions for new entities, including fields, links, and indexes.
- Created language files for English and German translations for the new entities.
- Developed a script to set ACL permissions for the new junction entities across existing roles.
- Updated existing entity definitions to include new relationships and fields related to Advoware and AI Collections.
This commit is contained in:
2026-03-10 00:10:57 +01:00
parent 0340c59e5c
commit 3470dba301
34 changed files with 920 additions and 18 deletions

View File

@@ -75,6 +75,42 @@
"entity": "Email",
"foreign": "parent",
"layoutRelationshipsDisabled": true
},
"cDokumente": {
"type": "hasMany",
"entity": "CDokumente",
"foreign": "cAICollections",
"relationName": "cAICollectionCDokumente",
"additionalColumns": {
"xaifileid": {
"type": "varchar",
"len": 255
},
"syncStatus": {
"type": "varchar",
"len": 50,
"default": "new"
}
},
"isCustom": true
},
"cAdvowareAkte": {
"type": "belongsTo",
"entity": "CAdvowareAkten",
"foreign": "cAICollection",
"isCustom": true
},
"cmietinkassos": {
"type": "hasMany",
"entity": "CMietinkasso",
"foreign": "cAICollection",
"isCustom": true
},
"cvmhRumungsklages": {
"type": "hasMany",
"entity": "CVmhRumungsklage",
"foreign": "cAICollection",
"isCustom": true
}
},
"collection": {