RoleDTO¶
Example Json Object
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "roleName": "string",
6 "entity": "string",
7 "permissions": [
8 "READ_REQUEST"
9 ]
10}
📄 Description: Data transfer object representing a user role within the system, encapsulating essential attributes such as role name, permissions, and associated metadata to facilitate effective access management and organizational structure.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
id |
integer(int64) |
false |
none |
Unique identifier for the resource |
createdBy |
string |
false |
none |
Username of who created this resource |
createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
roleName |
string |
false |
none |
Name of the role |
entity |
string |
false |
none |
Represents the specific role associated with the user, facilitating role-based access and permissions within the system. |
permissions |
[string] |
false |
none |
Array of RoleDTO objects that defines the specific permissions assigned to a user within the system, facilitating role-based access control. |