Commit graph

15 commits

Author SHA1 Message Date
ValueOn AG
091a3672de fixed udb issues 2026-04-12 10:12:03 +02:00
ValueOn AG
75484c0f73 BREAKING CHANGE
API and persisted records use PowerOnModel system fields:
- sysCreatedAt, sysCreatedBy, sysModifiedAt, sysModifiedBy
Removed legacy JSON/DB field names:
- _createdAt, _createdBy, _modifiedAt, _modifiedBy
Frontend (frontend_nyla) and gateway call sites were updated accordingly.
Database:
- Bootstrap runs idempotent backfill (_migrateSystemFieldColumns) from old
  underscore columns and selected business duplicates into sys* where sys* IS NULL.
- Re-run app bootstrap against each PostgreSQL database after deploy.
- Optional: DROP INDEX IF EXISTS "idx_invitation_createdby" if an old index remains;
  new index: idx_invitation_syscreatedby on Invitation(sysCreatedBy).
Tests:
- RBAC integration tests aligned with current GROUP mandate filter and UserMandate-based
  UserConnection GROUP clause; buildRbacWhereClause(..., mandateId=...) must be passed
  explicitly (same as production request context).
2026-03-28 18:12:37 +01:00
6dc2afafb9 fix:performance improvements
- app.py: Pre-warm AI connectors at module load and in lifespan
- aicoreModelRegistry.py: Connector discovery cache, getAvailableModels cache, bulk RBAC, eager prewarm
- connectorDbPostgre.py: Connector cache, contextvars for userId, eviction (max 32)
- chatbot: Uses _get_cached_connector, Service center integration, BillingService exceptions, BillingService exceptions instead of direct imports
- interfaceDbApp.py: Uses _get_cached_connector
- interfaceDbManagement.py: Uses _get_cached_connector
- security/rbac.py: Adds checkResourceAccessBulk
2026-03-06 13:46:54 +01:00
patrick-motsch
7051a6e35f fixed rbac issues and sysadmin integration 2026-02-12 00:34:17 +01:00
patrick-motsch
d98c31a4d1 logical fixes 2026-02-09 23:44:52 +01:00
patrick-motsch
1f3746aef5 streamlined bootstrap and initial config 2026-02-09 12:49:35 +01:00
ValueOn AG
45eda1e4d4 cleaned up all route and main references - no direct access to db.getRecordset - only over interfaces 2026-02-04 14:09:35 +01:00
ValueOn AG
555c9429fb fixed automation bug rbac set 2026-02-04 01:07:42 +01:00
ValueOn AG
829711f755 fixed system and dynamic data rbac 2026-01-26 12:39:00 +01:00
ValueOn AG
e737bf5cdb gpdr compliancy implemented 2026-01-25 23:57:41 +01:00
ValueOn AG
bc2877bcc1 fixed rbac feature rules to override global rules, not to combine 2026-01-25 03:18:22 +01:00
ValueOn AG
5c0ab3f893 implemented multimandate 2026-01-17 02:17:58 +01:00
ValueOn AG
4b00e741b3 refactored service center 2025-12-15 21:55:26 +01:00
ValueOn AG
d009f93dba rbac roles and rules integration tests passed 2025-12-07 23:51:05 +01:00
ValueOn AG
54246745a9 refactored uam to rbac 2025-12-07 13:48:39 +01:00