Docs
Get My Permissions
GET /me/permissions
GET
/me/permissionsLists the signed-in caller's effective permissions at every collaborator, area and activity of the event in x-Event-Token and at every department of its organization, with the field classes they hold. Call once when an event loads; scope comes from the token. With an organization token and no event token it lists the caller's permissions at the organization's departments and locations instead.
Response
| Field | Type | Description |
|---|---|---|
| grants | GetMyPermissionsResponseContextGrant[]| null | |
| fieldClasses | GetMyPermissionsResponseFieldClassLevel[]| null |
GetMyPermissionsResponseContextGrant
| Field | Type | Description |
|---|---|---|
| contextType | string| null | |
| contextId | uuid | |
| permissions | string[]| null |
GetMyPermissionsResponseFieldClassLevel
| Field | Type | Description |
|---|---|---|
| fieldClassId | uuid | |
| name | string| null | |
| level | string| null |