Skip to content

TypeScript API / laikacms/auth / Scope

Type Alias: Scope ​

ts
type Scope = 
  | GranularScope
  | typeof ADMIN_SCOPE
  | typeof WILDCARD_SCOPE
  | `${string}:${string}`;

An open scope: the CMS well-knowns, either global grant, or any resource:action pair (including a resource:* per-resource wildcard).

Released under the MIT License.