Overview
One or more trigger actions can be set for a named event in the workflow.
When the workflow trigger event occurs the trigger will check that any required conditions are met, and if met the "remove-restrictions"
action removes content view and edit restrictions for specified users/groups.
"remove-restrictions"
The trigger action A useful instance would be remove all view and edit restrictions from the final state in a workflow. Space admins can configure a space workflow in the space tools Document Management dashboard to remove all page level restrictions on transition to the workflow final state."remove-restrictions"
will remove content view and edit restrictions for all users/groups."triggers":
[
{"event": "on-change-state",
"conditions":
[
{"final": true}
],
"actions":
[
{"action": "remove-restrictions"}
]}
]
If adding the JSON trigger using workflow builder there is no need to include the opening "triggers": JSON markup notation, since it will be added by workflow builder.
Only 'Confluence Cloud Standard, Premium and Enterprise Plans' enable Atlassian Confluence users to edit permissions, including global, space, and page permissions.
Related Pages
List of trigger actions
- change-state trigger action
- publish-page trigger action
- approve trigger action
- reject trigger action
- assign trigger action
- unassign trigger action
- set-expiration trigger action
- clear-expiration trigger action
- set-message trigger action
- clean-messages trigger action
- remove-restrictions trigger action
- send-email trigger action
- Users or groups within a trigger