Decide the RBAC model: token-claim roles vs stored per-publisher roles, and admin bootstrap #27
Labels
No labels
Compat/Breaking
Crazy Idea
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
OpenIndiana/ips#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #24
Maintainer decisions — 2026-09-22
Deferred beyond v1 by the maintainer: local ingestion suffices, and CI will deliver a completed multi-package .p5p and notify an import script (#38). Authenticated REST publishing, its OIDC/RBAC decisions and provider provisioning are not v1 release gates. Preserve this ticket and its research/dependencies for later work; no later milestone was selected. Do not provision credentials or an identity provider as part of v1.
These decisions supersede conflicting earlier scope below. This update records maintainer decisions, not implementation or test completion.
Earlier brief and context
Question
Who may publish to which publisher, and where is that decided? The plan proposes
admin/publisher/readerroles stored in{repo}/publisher/{name}/rbac.dband granted via/admin/rbac/*endpoints; the existing middleware already parses arolesclaim from the JWT.Grill on:
ips_publishers, Forgejo/Keycloak groups), a static mapping inpkg6depotd.kdl, or a hybrid (claims for identity, stored grants for authorization).pkg(1)).Blocked by the release scope (does v1 need RBAC at all?) and by the IdP decision (which claims exist). Record as an ADR; the resolution should let
/to-ticketsslice #19.Links
Closed as out of scope for Release 1 (wayfinder): remote publication, OIDC and RBAC are deferred with no target release (maintainer, 2026-09-22; ADR-004, ADR-015). Deciding the RBAC model has nothing to unblock until then. The research in #33 and the design in
docs/ai/plans/2026-04-09-publish-api-oidc.mdremain the starting point when this is re-charted.