The Add permission task assigns user and/or group permissions to content stored in the repository.
Use this task when you need to grant users or groups access to files or other content objects as part of a workflow.
During execution the task executes the ADD_PERMISSION action. The specified content object is identified and the configured user or group permissions are added to the content object. The updated content object is returned for use in subsequent workflow activities.
The input parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Array<content>, Content | Requires one | Reference to the content object for which permissions will be added. Example: 775a8f2d-8123-49a7-ae1f-f3f49d4eae20. |
| permissions | JSON | Requires one | Specifies the user or group permissions to add. |
The output parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | JSON | Optional | The resulting content object after the permissions have been updated. |