StateStore RPCs ListPresence, ListChannelStatus, ListApplyStatus and GetConfigSnapshot (internal/infrastructure/staterpc/server.go), backed by internal/infrastructure/postgres/queries/status.sql: no principal check, so any org principal reads instance-wide service presence, channel and apply state, and the published config. The dashboard routes for these are instanceOnly (/api/health detailed, /api/channels, /api/control-plane/apply-status, /api/config), so the RPC contract is looser than the route. Done when each RPC requires an instance principal or returns nothing org-foreign.
Acceptance criteria
Each listed RPC rejects non-instance callers or returns only data permitted to the caller organization.
Imported from beads archie-core-kgxw.27 · GitHub #1588 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-11
StateStore RPCs ListPresence, ListChannelStatus, ListApplyStatus and GetConfigSnapshot (internal/infrastructure/staterpc/server.go), backed by internal/infrastructure/postgres/queries/status.sql: no principal check, so any org principal reads instance-wide service presence, channel and apply state, and the published config. The dashboard routes for these are instanceOnly (/api/health detailed, /api/channels, /api/control-plane/apply-status, /api/config), so the RPC contract is looser than the route. Done when each RPC requires an instance principal or returns nothing org-foreign.
### Acceptance criteria
Each listed RPC rejects non-instance callers or returns only data permitted to the caller organization.
### Close reason
Fixed on feat/org-epic (PR #1634)
---
_Imported from beads `archie-core-kgxw.27` · GitHub #1588 · 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 ListPresence, ListChannelStatus, ListApplyStatus and GetConfigSnapshot (internal/infrastructure/staterpc/server.go), backed by internal/infrastructure/postgres/queries/status.sql: no principal check, so any org principal reads instance-wide service presence, channel and apply state, and the published config. The dashboard routes for these are instanceOnly (/api/health detailed, /api/channels, /api/control-plane/apply-status, /api/config), so the RPC contract is looser than the route. Done when each RPC requires an instance principal or returns nothing org-foreign.
Acceptance criteria
Each listed RPC rejects non-instance callers or returns only data permitted to the caller organization.
Close reason
Fixed on feat/org-epic (PR #1634)
Imported from beads
archie-core-kgxw.27· GitHub #1588 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-11