Files
9f2e59ad1a test(authz): cover tenant isolation and fail-closed HTTP decisions (#6)
The serve package mounts the network edge of the access decision
(POST /v1/authz/check) and had no tests. Add in-process route tests
through zip's test transport: unauthenticated refusal, cross-tenant
target and grant-scope refusal, malformed-path and missing-field 400s,
owner/admin/member allow and deny, narrower-scope prefix narrowing,
expired-grant denial, and fail-closed on unknown verb and role.

Co-authored-by: harshitgavita-07 <[email protected]>
2026-10-27 20:52:58 -07:00
..