RolePolicy
type RolePolicy<Action> = Record<string, readonly Action[] | "*">;Defined in: src/authorization/roles.ts:20
A role policy: each role maps to an explicit action list or the "*" wildcard.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Action extends string |
string |