Skip to content

SudoSOS Back-end API / rbac / RoleDefinition

Interface: RoleDefinition ​

A role definition contains a unique name, permission definitions, and an assignment predicate which determines if a supplied user has the role.

Properties ​

assignmentCheck ​

ts
assignmentCheck: AssignmentCheck;

The assignment check predicate for this role.


name ​

ts
name: string;

The unique name of the role.


permissions ​

ts
permissions: PermissionDefinition;

The list containing the permissions set that this role has.