RBACOptions
Interface: RBACOptions<P>
Configuration and roles for the single-step v4 factory.
Extends
Type Parameters
P
P = unknown
Properties
colors?
optionalcolors?:boolean
Inherited from
enableLogger?
optionalenableLogger?:boolean
Inherited from
logger?
optionallogger?: (role,operation,result,colorsEnabled?) =>void
Parameters
role
string
operation
string | RegExp
result
boolean
colorsEnabled?
boolean
Returns
void
Inherited from
roles
roles:
Roles<P>