oakallow uses a 12-level resolution chain to determine the permission for any tool execution. The chain evaluates from most specific to least specific:
Tenant-scoped rules (if a tenant is specified):
Org-scoped rules (same 8 levels without tenant):
Fallbacks:
The first match wins. If nothing matches and the tool is not pre-approved, the fail-safe is always "requires approval." Permission resolution happens at the edge via Cloudflare Workers for sub-millisecond decisions.