Closes#989. Decided by Sharang (2026-11-12), for v0.4.15.
Role (token code)
Prüfwerk
PSIRT, DEVELOPMENT
full: read and write (triage, scans)
QUALITY, PURCHASING, AUDITOR
read only
PRIVACY, EXTERNAL
none, as before
Each code parses to its own OrgRole, no longer Unknown. ProductAccess::for_roles, and so the role gate and the dashboard, follow the table.
Admin-only actions stay with IT_ADMIN / OWNER: manual findings, the git source, licence policy and review decisions.
Confirming a licence follows full access, so PSIRT and DEVELOPMENT may confirm. The dashboard's hint now says "eine Rolle mit Schreibzugriff" instead of listing roles.
Docs: the role tables in getting started (DE/EN) and the SBOM licence section.
Not part of this: the tenant-registry rights catalogue (pruefwerk:*).
Test plan
cargo fmt --all --check
clippy with -D warnings: compliance-core, compliance-agent, compliance-dashboard (server and web)
compliance-core lib (262): parsing all seven codes; the access table, including mixed roles (EXTERNAL + AUDITOR → read only)
compliance-agent lib (1070): the role-gate router matrix with all seven roles (read and write)
## Summary
Closes #989. Decided by Sharang (2026-11-12), for v0.4.15.
| Role (token code) | Prüfwerk |
| --- | --- |
| `PSIRT`, `DEVELOPMENT` | full: read and write (triage, scans) |
| `QUALITY`, `PURCHASING`, `AUDITOR` | read only |
| `PRIVACY`, `EXTERNAL` | none, as before |
- Each code parses to its own `OrgRole`, no longer `Unknown`. `ProductAccess::for_roles`, and so the role gate and the dashboard, follow the table.
- Admin-only actions stay with `IT_ADMIN` / `OWNER`: manual findings, the git source, licence policy and review decisions.
- Confirming a licence follows full access, so PSIRT and DEVELOPMENT may confirm. The dashboard's hint now says "eine Rolle mit Schreibzugriff" instead of listing roles.
- Docs: the role tables in getting started (DE/EN) and the SBOM licence section.
- Not part of this: the tenant-registry rights catalogue (`pruefwerk:*`).
## Test plan
- [x] `cargo fmt --all --check`
- [x] clippy with `-D warnings`: compliance-core, compliance-agent, compliance-dashboard (`server` and `web`)
- [x] compliance-core lib (262): parsing all seven codes; the access table, including mixed roles (EXTERNAL + AUDITOR → read only)
- [x] compliance-agent lib (1070): the role-gate router matrix with all seven roles (read and write)
- [x] compliance-dashboard (193)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
sharang
merged commit ea1b48dd37 into main2026-11-12 10:24:59 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Closes #989. Decided by Sharang (2026-11-12), for v0.4.15.
PSIRT,DEVELOPMENTQUALITY,PURCHASING,AUDITORPRIVACY,EXTERNALOrgRole, no longerUnknown.ProductAccess::for_roles, and so the role gate and the dashboard, follow the table.IT_ADMIN/OWNER: manual findings, the git source, licence policy and review decisions.pruefwerk:*).Test plan
cargo fmt --all --check-D warnings: compliance-core, compliance-agent, compliance-dashboard (serverandweb)🤖 Generated with Claude Code