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.
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
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.
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