IDIP: the auth gate answers restricted services from the credential roster (ADR 0222 edit 1) #1155
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1155
Loading…
Add table
Add a link
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?
Parent
ADR 0222 (ruled #1063, 2026-09-02) — wiring edit 1 of 3. Design contract:
docs/ux/wireframes/p6-members-idip/p6-s7i-credential-detail.html(the matrix-note's promise is what this ticket makes true).What to build
On an IDIP community, restricting a service to holders of a credential actually bites: a member holding it reaches the service, a member without it gets the honest refusal page, and a revocation closes the door on the holder's next request — no re-login, no deploy.
Today the auth gate's
GateDecisionis handed the kanidm-path members orchestrator on both paths (WithAuthGate(c.mem, …)in the control-plane composition), and its holder lookup reads kanidm's directory — nothing reads the IDIP roster, so a restricted matrix row on IDIP refuses everyone (and the deny-list/suspend half never sees IDIP either). The gate must stay IdP-blind (ADR 0016): it asks an interface; which roster answers is the composition root's business.The credential answer is the receipt-gated one the steward surfaces already trust (#1098's shape): live membership + the named credential standing, from the community's own registry mirror — an errored read refuses the act and says so, never guesses (ADR 0100).
Acceptance criteria
adminpseudo-service stays operators/stewards-only on IDIPcontrol-plane/cmd/control-planeasserting what the wiring produces)GateDecision/authgate test pattern), no live KERIA neededBlocked by
None — can start immediately.
groupsbut Nextcloud mapsocgroups— a credential opens nothing at the files door (kanidm komiti do, DDR 0179) #1104swarm-claim host=elitebook-distributed-server-03 run=16683
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1155 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope