Firm lane
Matter walls
Kind: Fixed templates and rules — no model call.
Availability
ShippedLive on this deployment: it needs nothing more to run.
- Door
/admin/matter/[id]/access · /firms/manage/walls · /api/admin/matter-access- Unlocks with
- A law firm's staff session, signed in with its second factor.
Every status follows one rule from this deployment's own configuration: a capability is marked shipped only when everything it needs is in place.
What it does
Makes a matter team-only, or screens a member of the firm from it — held by the database on every read and write of the matter, its files and its records, every change on the record.
Keep in mind
A screen beats every role and every team seat, and nobody lifts their own; the matter's own client is never walled, and only the firm's attorneys, its administrators or the matter's responsible member change its walls.
What it refuses
| Answer | HTTP | Meaning |
|---|---|---|
forbidden | 403 | The session is not the firm's staff for this matter; the door reads nothing further. |
mfa-required | — | A staff session needs its second factor before any staff door opens: 401 to verify it, 403 to set one up. |
unavailable | 503 | The record could not be read: the door answers unavailable, never an empty list or a zero. |
- Answer
forbidden- HTTP
- 403
- Meaning
- The session is not the firm's staff for this matter; the door reads nothing further.
- Answer
mfa-required- HTTP
- —
- Meaning
- A staff session needs its second factor before any staff door opens: 401 to verify it, 403 to set one up.
- Answer
unavailable- HTTP
- 503
- Meaning
- The record could not be read: the door answers unavailable, never an empty list or a zero.
What can leave EstateDraft
The registry declares no action of this capability that reaches outside EstateDraft.
Evidence
src/lib/db/phase4c2-migration.test.tssrc/lib/rls-suite-coverage-4c2.test.tssrc/lib/access/walls.test.tssrc/lib/phase4c2-routes.test.tssrc/lib/access/wall-census.tssrc/lib/access/walls.tssrc/app/api/admin/matter-access/route.tssrc/components/access/MatterAccessView.tsx
Reviewed: