[Task] Batch role-template assignment validation and synchronization #7

Closed
opened 2026-07-30 12:10:32 +02:00 by zemion · 1 comment
Owner

Admin-owned orchestration slice moved from https://git.add-ideas.de/GovOPlaN/govoplan-core/issues/3.

Outcome

Role-template synchronization validates tenant assignments in bulk and delegates materialization to Access through a versioned capability, avoiding per-tenant and per-row query amplification.

Acceptance criteria

  • Bulk-load template revisions, assignments, target tenants, and synchronization state before reconciliation.
  • Validate all assignments with bounded queries and produce explicit per-assignment blockers/provenance.
  • Delegate Access-owned group/role/membership projection through the linked capability; do not import Access ORM models.
  • Make retries idempotent and preserve partial-failure evidence without silently skipping tenants.
  • Add query-count and large-tenant regression tests.

Dependency

<!-- moved-from-core-3-admin --> Admin-owned orchestration slice moved from [https://git.add-ideas.de/GovOPlaN/govoplan-core/issues/3](https://git.add-ideas.de/GovOPlaN/govoplan-core/issues/3). ## Outcome Role-template synchronization validates tenant assignments in bulk and delegates materialization to Access through a versioned capability, avoiding per-tenant and per-row query amplification. ## Acceptance criteria - Bulk-load template revisions, assignments, target tenants, and synchronization state before reconciliation. - Validate all assignments with bounded queries and produce explicit per-assignment blockers/provenance. - Delegate Access-owned group/role/membership projection through the linked capability; do not import Access ORM models. - Make retries idempotent and preserve partial-failure evidence without silently skipping tenants. - Add query-count and large-tenant regression tests. ## Dependency - [https://git.add-ideas.de/GovOPlaN/govoplan-access/issues/17](https://git.add-ideas.de/GovOPlaN/govoplan-access/issues/17)
Author
Owner

Implemented and published in govoplan-core@8e687c4, govoplan-access@94b604a, and govoplan-admin@550c14b. Governance-template synchronization now validates and loads tenants/assignments in bulk, performs one bounded reconciliation call, preserves per-assignment blockers instead of silently skipping stale targets, supports dry-run and apply modes, records preview/apply audit evidence, and exposes a task-local Sync action in the shared administration surface. The 200-assignment regression test holds Admin setup to two SELECTs. Verification passed across focused backend/API tests, Ruff, manifests, strict platform inventory, all 59 WebUI permutations, full-product bundle budgets, and Playwright UI conformance.

Implemented and published in govoplan-core@8e687c4, govoplan-access@94b604a, and govoplan-admin@550c14b. Governance-template synchronization now validates and loads tenants/assignments in bulk, performs one bounded reconciliation call, preserves per-assignment blockers instead of silently skipping stale targets, supports dry-run and apply modes, records preview/apply audit evidence, and exposes a task-local Sync action in the shared administration surface. The 200-assignment regression test holds Admin setup to two SELECTs. Verification passed across focused backend/API tests, Ruff, manifests, strict platform inventory, all 59 WebUI permutations, full-product bundle budgets, and Playwright UI conformance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-admin#7