MVP-1.11 · Minimal RBAC from org_roles #272

Closed
opened 2026-09-20 20:17:25 +00:00 by sharang · 1 comment
Owner

Goal

Minimal role-based access control so a pilot tenant can give people read-only access. Scope is deliberately small (#190 reduced to "minimal"): map the platform's org_roles claim to three roles and enforce Viewer as read-only.

What to change

  • Map org_roles → Admin / Member / Viewer.
  • Enforce Viewer as read-only in the agent API.
  • Enforce Viewer as read-only in the dashboard UI (no write affordances).
  • Declare the role mapping in product.manifest.yaml (MVP-1.8).

Acceptance

  • A Viewer token is refused on every write endpoint (target create/delete, scan trigger, finding status change, evidence import) with 403.
  • The dashboard hides or disables write actions for a Viewer.
  • Admin and Member behaviour is unchanged for the pilot.
  • The mapping appears in the registered manifest; #190 closed as the minimal scope.
## Goal Minimal role-based access control so a pilot tenant can give people read-only access. Scope is deliberately small (#190 reduced to "minimal"): map the platform's `org_roles` claim to three roles and enforce Viewer as read-only. ## What to change - Map `org_roles` → Admin / Member / Viewer. - Enforce Viewer as read-only in the agent API. - Enforce Viewer as read-only in the dashboard UI (no write affordances). - Declare the role mapping in `product.manifest.yaml` (MVP-1.8). ## Acceptance - [ ] A Viewer token is refused on every write endpoint (target create/delete, scan trigger, finding status change, evidence import) with 403. - [ ] The dashboard hides or disables write actions for a Viewer. - [ ] Admin and Member behaviour is unchanged for the pilot. - [ ] The mapping appears in the registered manifest; #190 closed as the minimal scope.
sharang added this to the Production MVP milestone 2026-09-20 20:17:25 +00:00
sharang added the enhancementsecurity labels 2026-09-20 20:17:25 +00:00
Author
Owner

Done in #431: org roles are enforced. IT_ADMIN and USER read and write, CXO and LEGAL read only, FINANCE or no role get no access (agent api::role_gate, dashboard no-access and read-only views).

Done in #431: org roles are enforced. IT_ADMIN and USER read and write, CXO and LEGAL read only, FINANCE or no role get no access (agent `api::role_gate`, dashboard no-access and read-only views).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#272