Pular para o conteúdo principal
Versão: 4.x (latest)

RBACOptions

rbac-v4-workspace


Interface: RBACOptions<P>

Configuration and roles for the single-step v4 factory.

Extends​

Type Parameters​

P​

P = unknown

Properties​

colors?​

optional colors?: boolean

Inherited from​

RBACConfig.colors


enableLogger?​

optional enableLogger?: boolean

Inherited from​

RBACConfig.enableLogger


logger?​

optional logger?: (role, operation, result, colorsEnabled?) => void

Parameters​

role​

string

operation​

string | RegExp

result​

boolean

colorsEnabled?​

boolean

Returns​

void

Inherited from​

RBACConfig.logger


roles​

roles: Roles<P>