Policy-gated resource access explanation user picker #6

Open
opened 2026-07-11 00:30:31 +02:00 by zemion · 0 comments
Owner

Feature

Resource access explanation dialogs currently explain access for the signed-in user. The backend endpoint can explain access for any tenant user, so admin diagnostics can become more useful once a policy-gated user picker exists.

Proposed behavior

  • Define the policy/permission gate for selecting another user in a resource explanation dialog.
  • Allow modules to request a shared user picker capability without owning user administration UI.
  • Keep the default behavior as current-user explanation when the actor lacks the policy permission.
  • Ensure selected-user explanations are audited as administrative diagnostics.

Acceptance criteria

  • Policy module defines the guard/feature contract for cross-user access explanation.
  • Access/core expose enough metadata for modules to render a selector safely.
  • Files and Campaign can adopt the picker without importing access-admin UI internals.
  • Documentation explains when current-user vs selected-user explanation is shown.
## Feature Resource access explanation dialogs currently explain access for the signed-in user. The backend endpoint can explain access for any tenant user, so admin diagnostics can become more useful once a policy-gated user picker exists. ## Proposed behavior - Define the policy/permission gate for selecting another user in a resource explanation dialog. - Allow modules to request a shared user picker capability without owning user administration UI. - Keep the default behavior as current-user explanation when the actor lacks the policy permission. - Ensure selected-user explanations are audited as administrative diagnostics. ## Acceptance criteria - Policy module defines the guard/feature contract for cross-user access explanation. - Access/core expose enough metadata for modules to render a selector safely. - Files and Campaign can adopt the picker without importing access-admin UI internals. - Documentation explains when current-user vs selected-user explanation is shown.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-policy#6
No description provided.