feat(auth): Prüfwerk access for the RBAC step 4 roles (#989)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m44s
CI / Check (pull_request) Successful in 22m11s

Decided 2026-11-12: PSIRT and DEVELOPMENT get full access (they triage
findings and run scans); QUALITY, PURCHASING and AUDITOR read only;
PRIVACY and EXTERNAL none, as before. Each parses to its own OrgRole.
Admin-only actions (manual findings, git source, licence decisions) stay
with IT_ADMIN and OWNER; confirming a licence follows full access, so
PSIRT and DEVELOPMENT may confirm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-12 11:02:02 +01:00
1 parent ca8a662b60
commit 648cf3102d
8 files changed
+97 -28

No files matched your search

+3 -3
View File
@@ -35,9 +35,9 @@ What you can do in Prüfwerk depends on your role in the workspace:
| Role | Prüfwerk |
| --- | --- |
| `OWNER`, `IT_ADMIN`, `USER` | everything: add targets, run scans, triage findings |
| `CXO`, `LEGAL` | read only: view and export findings, reports, SBOM, evidence |
| `FINANCE`, or none of these | no access |
| `OWNER`, `IT_ADMIN`, `USER`, `PSIRT`, `DEVELOPMENT` | everything: add targets, run scans, triage findings |
| `CXO`, `LEGAL`, `QUALITY`, `PURCHASING`, `AUDITOR` | read only: view and export findings, reports, SBOM, evidence |
| `FINANCE`, `PRIVACY`, `EXTERNAL`, or none of these | no access |
Only `IT_ADMIN` and `OWNER` can add or import findings by hand.
+3 -3
View File
@@ -38,9 +38,9 @@ Was Sie in Prüfwerk tun können, hängt von Ihrer Rolle im Arbeitsbereich ab:
| Rolle | Prüfwerk |
| --- | --- |
| Inhaber (`OWNER`), IT-Administration (`IT_ADMIN`), Benutzer (`USER`) | alles: Prüfobjekte anlegen, prüfen, Befunde bewerten |
| Geschäftsführung (`CXO`), Recht (`LEGAL`) | nur lesen: Befunde, Berichte, Stückliste, Nachweise ansehen und exportieren |
| Finanzen (`FINANCE`) oder keine dieser Rollen | kein Zugriff |
| Inhaber (`OWNER`), IT-Administration (`IT_ADMIN`), Benutzer (`USER`), Produktsicherheit (`PSIRT`), Entwicklung (`DEVELOPMENT`) | alles: Prüfobjekte anlegen, prüfen, Befunde bewerten |
| Geschäftsführung (`CXO`), Recht (`LEGAL`), Qualität (`QUALITY`), Einkauf (`PURCHASING`), Prüfer (`AUDITOR`) | nur lesen: Befunde, Berichte, Stückliste, Nachweise ansehen und exportieren |
| Finanzen (`FINANCE`), Datenschutz (`PRIVACY`), Extern (`EXTERNAL`) oder keine dieser Rollen | kein Zugriff |
Befunde von Hand anlegen oder importieren kann nur die IT-Administration.
+2 -1
View File
@@ -272,7 +272,8 @@ Copyleft-licensed dependencies can require you to release your source code under
### Confirming a license
Where the scan finds no license (**Unknown**) or a wrong one, people with the
OWNER, IT_ADMIN or USER role can confirm the license themselves; CXO and LEGAL can
a role that may change data (OWNER, IT_ADMIN, USER, PSIRT, DEVELOPMENT) can confirm
the license themselves; read-only roles (CXO, LEGAL, QUALITY, PURCHASING, AUDITOR) can
read the confirmations (LEGAL decides about them in the
[legal review](#license-policy-and-legal-review)).