document-archive on IDIP: an administrator is found by the bridge's handle, and a typed address opens nobody else's account (Ben, 2026-09-29) #2000
No reviewers
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss!2000
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "session/paperless-idip-admin-by-handle"
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?
What
On Whakatōhea Demo (2026-09-29) Ben installed Document archive, signed in, and was a plain member of it. This makes an administrator admin of Paperless on an IDIP community, and stops a typed address opening someone else's account.
Cause, read from the box
preferred_username(ben-2) and keeps the AID only as the social account's uid, which Paperless's user API never shows.document-archive operator pre-provision owed — no email address on record.email_authentication: trueover from kanidm. On IDIP the address is typed by the member and sentemail_verified: true, so a second person who typed the same address lands inside the first person's account.Ruling (Ben, in session)
Find the account by the bridge's handle, pre-provision nothing on IDIP, email matching off on the bridge render.
Built
keria.Registry.SignInHandles— the names the bridge signed an AID in under, app door first, then roster, and only a name no other AID holdsdocumentarchivesvc.Port.KeyByHandles— finds the account by them; never pre-provisions; an operator who has not signed in yet waits for the pass after their first sign-in (ADR 0286 d.8)renderPaperlessOIDCBridgeno longer setsemail_authenticationcontrol-planewiresarchiveHandleson the IDIP pathThe kanidm path is unchanged (render byte-identical; port behaviour identical with no resolver).
Tests
Red-first at three seams: the roster (
internal/keria/signinhandles_test.go), the port over the Paperless double (internal/documentarchivesvc), and the real composition on the demo's roster shape (TestProductionPorts_PaperlessFindsTheStewardByTheirBridgeHandle, which fails without the wiring on the journal's exact sentence). Whole Go suite, vet and gofmt clean.Docs
ADR 0255 amended (the IDIP path), GOTCHAS #371, STATUS.
Not proven live — owed
Known costs, each owed a ticket
groupsonly, sopgroupsis never read on either path.Refs #1918
🤖 Generated with Claude Code