Skip to content

RolesAuthorizationOptions

Defined in: authorization/roles.ts:51

Options for rolesAuthorization.

Property Type Description Defined in
policy? RolePolicy Role → granted actions. "*" grants everything. Defaults to DEFAULT_ROLE_POLICY when omitted. authorization/roles.ts:56
readonly? boolean When true, every isMutatingAction mutating action is denied regardless of the principal’s roles. Default false authorization/roles.ts:62