Setting Override Schema
Champs
Setting Override Schema
Generic hierarchical settings storage (ADR 0098)
settingKey
Dotted lowercase key, e.g. "working_time.weekly_hours", "approval.budget_limit_eur", "hr.required_documents". The catalog of well-known keys is documented in ADR 0098.
scope
Scope this override applies to. The settings-resolver tries USER → POSITION → OU-chain → TENANT and returns the first non-null hit.
TENANTORG_UNITPOSITIONUSERscopeId
UUID of the scoped entity. Null only when scope=TENANT (the row applies to the whole tenant).
value
Effective value when this override wins resolver evaluation.
validFrom
Effective from this date (inclusive). Null = since-forever. Useful for working-time changes that take effect on a specific date.
validTo
Effective until this date (inclusive). Null = open-ended.
approvalRequired
When true (e.g. working-time changes at TENANT/ORG_UNIT scope requiring Betriebsrat approval), the override only applies once approvalState=APPROVED.
approvalState
Workflow state. Resolver only honours overrides with state=APPROVED. DRAFT rows are visible to admins but do not affect resolution.
DRAFTAPPROVEDREJECTEDreason
Free-text justification for the override (audit trail / Betriebsrat-Vorlage).
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/setting_overrides— Liste, paginée et filtrableGET /api/v1/setting_overrides/<id>— Une entitéPOST /api/v1/setting_overrides— CréerPATCH /api/v1/setting_overrides/<id>— Mise à jour partielleDELETE /api/v1/setting_overrides/<id>— Suppression logiqueGET /api/v1/setting_overrides/<id>/timeline— Audit et activités