BeechCMS / @beechcms/core / SCOPE_GRANT_REQUIREMENTS
Variable: SCOPE_GRANT_REQUIREMENTS
constSCOPE_GRANT_REQUIREMENTS:Readonly<Record<OAuthScope, readonlyPermission[] |"authenticated">>
RBAC authority that makes each OAuth scope usable, derived from the route rules of the scope's agent operations: 'authenticated' when at least one of them is open to any active account, otherwise the permissions (any one, at any scope) those routes demand. Kept in sync with PROTECTED_ROUTES by apps/api/src/factory.operations-parity.test.ts.