GET/access-roles/{roleId}/holders
Lists who holds the role, by direct grant, event access (with its condition), or by filling an event, collaborator or area role that names
it (kind TarRole, with roleDefinitionName and no grantId). Each row carries grantee { type, id, name } and context { type, id, label }. Needs Access.Manage at the organization
(organization token).
Path Parameters
| Field | Type | Required | Description |
|---|
| roleId | uuid | Required | |
Response
Type: GetRoleHolderResponse[]
GetRoleHolderResponse
| Field | Type | Description |
|---|
| grantId | uuid| null | |
| grantee | GetRoleHolderResponseGranteeInfo | |
| context | GetRoleHolderResponseContextInfo | |
| kind | string| null | |
| condition | EventAccessCondition | |
| roleDefinitionName | string| null | |
GetRoleHolderResponseGranteeInfo
| Field | Type | Description |
|---|
| type | string| null | |
| id | uuid | |
| name | string| null | |
GetRoleHolderResponseContextInfo
| Field | Type | Description |
|---|
| type | string| null | |
| id | uuid | |
| label | string| null | |
EventAccessCondition
| Field | Type | Description |
|---|
| logic | string| null | |
| groups | EventAccessConditionGroup[]| null | |
| attributeIds | uuid[]| null | |
EventAccessConditionGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| conditions | EventAccessConditionCondition[]| null | |