t2-p1-05authored3–6h
Authorization - cross-org access blocked
requires: t2-p1-04
Spec
Every Task and Project endpoint must verify the requesting user belongs to the resource's org. Write a test proving cross-org access is blocked. This is your first security-relevant test.
Why this matters
The single defining bug class of multi-tenant systems, and it does not announce itself: everything works perfectly while you test with one tenant. The verifier creates two orgs and tries to cross the boundary, which is the only way to find out.
Verify
No result yet. Run `learn verify t2-p1-05` locally, or push to trigger CI.
contract
unrun
repo
unrun