mirror of
https://github.com/hanzoai/authz.git
synced 2026-11-18 13:25:20 +00:00
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]>