interface RoleDefinition
Since 0.1.0

Role definition for RBAC configuration.

Properties

readonly
optional
permissions: readonly string[]

Permissions granted by this role.

readonly
optional
inherits: readonly string[]

Role names this role inherits from (transitive).

Usage

import { type RoleDefinition } from "auth-plugin/src/index.ts";