--- id: multi-user/permissions-authorize-ts-has-no-automated title: "`permissions/authorize.ts` has no automated tests" theme: multi-user status: open created: 2026-08-20 date_source: assumed order: 11 --- **`permissions/authorize.ts` has no automated tests.** `registry.test.ts` covers the pure registry functions and the totality check; the resolver that does the owner bypass, the grant lookup, the role cache and the fail-closed catches is exercised only by hand. It is the file standing between a Member and a shell.