ListIdentities and GetIdentity RPCs read across orgs #314

Closed
opened 2026-10-27 13:35:49 +00:00 by sam · 0 comments
Owner

StateStore RPCs ListIdentities and GetIdentity (internal/infrastructure/staterpc/identities.go), backed by ListIdentities and GetIdentity in internal/infrastructure/postgres/queries/identities.sql: no org filter, so any caller gets every identity's display name and lifecycle. The dashboard keeps /api/identities and the identities SSE topic to instance viewers, but the RPC is ungated. Done when the RPC returns only identities the caller's org can see, or is gated to instance principals.

Acceptance criteria

ListIdentities and GetIdentity expose only identities visible to the caller organization, or require an instance principal.

Close reason

Fixed on feat/org-epic (PR #1634)


Imported from beads archie-core-kgxw.26 · GitHub #1589 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-11

StateStore RPCs ListIdentities and GetIdentity (internal/infrastructure/staterpc/identities.go), backed by ListIdentities and GetIdentity in internal/infrastructure/postgres/queries/identities.sql: no org filter, so any caller gets every identity's display name and lifecycle. The dashboard keeps /api/identities and the identities SSE topic to instance viewers, but the RPC is ungated. Done when the RPC returns only identities the caller's org can see, or is gated to instance principals. ### Acceptance criteria ListIdentities and GetIdentity expose only identities visible to the caller organization, or require an instance principal. ### Close reason Fixed on feat/org-epic (PR #1634) --- _Imported from beads `archie-core-kgxw.26` · GitHub #1589 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-11_
sam added the highbug labels 2026-10-27 13:35:49 +00:00
sam self-assigned this 2026-10-27 13:35:49 +00:00
sam closed this issue 2026-10-27 13:35:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#314