SudoSOS Back-end API / rbac / Role
Class: Role ​
Extends ​
Constructors ​
Constructor ​
ts
new Role(): Role;Returns ​
Role
Inherited from ​
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
assignments | public | AssignedRole[] | - | - |
createdAt | readonly | Date | The creation date of the object. | BaseEntity.createdAt |
id | readonly | number | - | BaseEntity.id |
name | public | string | - | - |
permissions | public | Permission[] | - | - |
roleUserTypes | public | RoleUserType[] | - | - |
systemDefault | public | boolean | - | - |
updatedAt | readonly | Date | The last update date of the object. | BaseEntity.updatedAt |
version | readonly | number | The current version of the object. | BaseEntity.version |
Accessors ​
userTypes ​
Get Signature ​
ts
get userTypes(): UserType[];Returns ​
UserType[]