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:
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"fields": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "bigint",
|
||||
"autoincrement": true
|
||||
},
|
||||
"cAICollection": {
|
||||
"type": "link"
|
||||
},
|
||||
"cAICollectionId": {
|
||||
"type": "varchar",
|
||||
"len": 17,
|
||||
"index": true
|
||||
},
|
||||
"cDokumente": {
|
||||
"type": "link"
|
||||
},
|
||||
"cDokumenteId": {
|
||||
"type": "varchar",
|
||||
"len": 17,
|
||||
"index": true
|
||||
},
|
||||
"xaifileid": {
|
||||
"type": "varchar",
|
||||
"len": 255,
|
||||
"isCustom": true,
|
||||
"tooltip": true,
|
||||
"copyToClipboard": true
|
||||
},
|
||||
"syncStatus": {
|
||||
"type": "enum",
|
||||
"required": false,
|
||||
"options": [
|
||||
"new",
|
||||
"changed",
|
||||
"synced",
|
||||
"deleted"
|
||||
],
|
||||
"style": {
|
||||
"new": "info",
|
||||
"changed": "warning",
|
||||
"synced": "success",
|
||||
"deleted": "danger"
|
||||
},
|
||||
"default": "new",
|
||||
"isCustom": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"deleted": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"cAICollection": {
|
||||
"type": "belongsTo",
|
||||
"entity": "CAICollection"
|
||||
},
|
||||
"cDokumente": {
|
||||
"type": "belongsTo",
|
||||
"entity": "CDokumente"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "id",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"cAICollectionId": {
|
||||
"columns": ["cAICollectionId"]
|
||||
},
|
||||
"cDokumenteId": {
|
||||
"columns": ["cDokumenteId"]
|
||||
},
|
||||
"xaifileid": {
|
||||
"columns": ["xaifileid"]
|
||||
},
|
||||
"syncStatus": {
|
||||
"columns": ["syncStatus"]
|
||||
},
|
||||
"uniqueRelation": {
|
||||
"type": "unique",
|
||||
"columns": ["cAICollectionId", "cDokumenteId", "deleted"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user