Phase 1 — the DB-level backstop. Implement PostgreSQL RLS that is actually enforced, independent of application code (the predecessor advertised RLS but it was inert).
Tasks
Acceptance
- A deliberately app-layer-bypassed cross-workspace query is denied at the DB layer.
Refs: ADR-0003.
Phase 1 — the DB-level backstop. Implement PostgreSQL RLS that is actually enforced, independent of application code (the predecessor advertised RLS but it was inert).
Tasks
ENABLEandFORCE ROW LEVEL SECURITYon every workspace-scoped tableset_config('sith.workspace_id', …, true)); policies check itAcceptance
Refs: ADR-0003.