Users and security
Users
Users belong to organizations and business units and can have multiple roles.
organization
Writable system entity.
| Field | Type | Description |
|---|---|---|
| name | String | The name of the organization. |
business_unit
Writable system entity.
| Field | Type | Description | |
|---|---|---|---|
| name | String | The name of the business unit. |
user
Writable system entity.
| Field | Type | Description |
|---|---|---|
| name | STRING | |
| password | STRING | |
| authentication_provider | STRING | |
| full_name | STRING | |
| id_organization | Foreign Key | |
| id_business_unit | Foreign Key |
user_role
Child entity of user.
Writable system entity.
| Field | Type | Description |
|---|---|---|
| id_user | Foreign Key | |
| id_role | Foreign Key |
Security
role
Writable system entity.
| Field | Type | Description |
|---|---|---|
| name | String | The name of the role. |
privilege
Writable system entity.
| Field | Type | Description |
|---|---|---|
| name | String | The name of the privilege. |
role_security
Writable system entity.
| Field | Type | Description |
|---|---|---|
| allow | Int | |
| id_role | Foreign Key | |
| id_privilege | Foreign Key |
entity_security
Writable system entity.
| Field | Type | Description |
|---|---|---|
| scope | String | |
| allow | Int | |
| id_entity | Foreign Key | |
| id_role | Foreign Key | |
| id_privilege | Foreign Key |