The trigger action "remove-restrictions" will remove removes content view and edit restrictions for all users/groups. action (remove-restrictions) contentId (string) The content id of the page to remove page-level restrictions (if missing, the current page id will be used)
A useful instance would be typical use is to use this trigger action to remove all view and edit restrictions from the final state in a workflow. Code Block |
---|
"triggers":
[
{"event": "on-change-state",
"conditions":
[
{"final":true}
],
"actions":
[
{"action": "remove-restrictions"}
]}
] | If If adding the JSON trigger using workflow builder there is no need to include the opening "triggers": JSON markup notation, | since will be is added automatically by workflow builder. |
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. |