Add governed DSAR coverage for personal Views and attribution #5

Closed
opened 2026-08-21 03:55:54 +02:00 by zemion · 1 comment
Owner

Goal

Cover personal View selections, definitions, assignments, and institutional configuration attribution in the Core data-subject request workflow tracked by GovOPlaN/govoplan#47.

Scope

  • provide and document privacy.dsar.views
  • correlate exact tenant/account selectors with optional View resource references
  • export bounded personal selection, definition/revision, and assignment projections
  • export minimized tenant/group configuration attribution without institutional payloads
  • delete only subject-owned preferences, definitions, and user assignments
  • retain institutional attribution and exclude system-wide records from tenant requests
  • make execution tenant-scoped, revision-safe, fail-closed, and idempotent
  • add focused provider and Core workflow tests

Acceptance criteria

  • unrelated accounts and tenants cannot be discovered or mutated
  • deleting a personal definition cannot delete tenant/group/system definitions
  • personal selection/assignment deletion does not alter the referenced View
  • presentation and metadata payloads remain bounded and intentional
  • conflicting aliases and foreign records/actions fail closed
  • focused tests, Ruff, and manifest checks pass
## Goal Cover personal View selections, definitions, assignments, and institutional configuration attribution in the Core data-subject request workflow tracked by GovOPlaN/govoplan#47. ## Scope - provide and document `privacy.dsar.views` - correlate exact tenant/account selectors with optional View resource references - export bounded personal selection, definition/revision, and assignment projections - export minimized tenant/group configuration attribution without institutional payloads - delete only subject-owned preferences, definitions, and user assignments - retain institutional attribution and exclude system-wide records from tenant requests - make execution tenant-scoped, revision-safe, fail-closed, and idempotent - add focused provider and Core workflow tests ## Acceptance criteria - unrelated accounts and tenants cannot be discovered or mutated - deleting a personal definition cannot delete tenant/group/system definitions - personal selection/assignment deletion does not alter the referenced View - presentation and metadata payloads remain bounded and intentional - conflicting aliases and foreign records/actions fail closed - focused tests, Ruff, and manifest checks pass
Author
Owner

Implemented and pushed in 266f5da.

Views now provides privacy.dsar.views for exact-tenant personal definitions/revisions, user assignments, active-View selections, and minimized tenant/group author attribution. Erasure is owner-, selector-, timestamp-, and revision-checked; personal definitions with foreign dependents require manual review; institutional attribution is retained; system-wide Views are outside tenant requests. Verification: 45 tests plus 5 subtests passed, Ruff passed, and the 68/68 manifest registry check passed.

Implemented and pushed in `266f5da`. Views now provides `privacy.dsar.views` for exact-tenant personal definitions/revisions, user assignments, active-View selections, and minimized tenant/group author attribution. Erasure is owner-, selector-, timestamp-, and revision-checked; personal definitions with foreign dependents require manual review; institutional attribution is retained; system-wide Views are outside tenant requests. Verification: 45 tests plus 5 subtests passed, Ruff passed, and the 68/68 manifest registry check passed.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-views#5