List User Privileges in an Event

Returns the list of permissions the authenticated user has in an event from the Workflow module.

 

URL

{WSUrl}/api/events/<EventCode>/privileges

 

REQUEST METHOD

GET

 

URL PARAMETER

EventCode: This parameter is provided in the URL and does not need to be sent through GET.

 

REQUEST EXAMPLE

{WSUrl}/api/events/EVTC201105000052/privileges

 

SUCCESS RESPONSE

List of the user's privileges in the event specified.

 

SUCCESS RESPONSE EXAMPLE

["properties_edit","progress_edit","reopen","close"]

 

LIST OF PERMISSIONS

List of permissions recognized by the API and their descriptions:

properties_edit: Edit the general properties of an event. For example: title, description and start date. See below other permissions for changing specific properties.

progress_edit: Update the progress of an event. For example: 75%.

progress_view: View the history of the updates made in an event.

coordinator_change: Edit the coordinator of an event, assigning a person or group of people to the role.

responsible_change: Edit the person or group responsible for an event, assigning a person or group to this role.

child_create: Create new child events for a registered event.

reopen: Reopen closed events.

close: Close open events.

cancel: Cancel events.