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

@@ -0,0 +1,23 @@
<?php
namespace Espo\Custom\Controllers;
use Espo\Core\Controllers\Record;
/**
* Junction Controller: CAICollection ↔ CDokumente
*
* Provides REST API access to the junction table with additionalColumns:
* - xaifileid: XAI external file ID
* - syncStatus: Sync state tracking
*/
class CAICollectionCDokumente extends Record
{
// Inherits all CRUD operations from Record controller
//
// Available endpoints:
// GET /api/v1/CAICollectionCDokumente
// GET /api/v1/CAICollectionCDokumente/{id}
// POST /api/v1/CAICollectionCDokumente
// PUT /api/v1/CAICollectionCDokumente/{id}
// DELETE /api/v1/CAICollectionCDokumente/{id}
}