Hi,
I am having following flow for document. The document is removed view permision after creating page, and set edit permision for creator and reviewers. After public document, I want to set edit and view permission to everyone. Now I only know to set group and user:
{add-restriction:type=Edit|group=confluence-users} but I don't know how to set view and edit permision to everyone, Pls help me!
Below is my current workflow:
{workflow:name=SimpleApproveWF|key=spaceworkflow--393487062}
{workflowparameter:Reviewers|description=User able to give final approval|type=user|edit=true}
{workflowparameter}
{trigger:pagecreated}
{remove-restriction:type=view}
{add-restriction:type=Edit|user=@creator@}}
{trigger}
{state:Editing|submit=Review}
{state}
{state:Review|approved=Published|rejected=Editing}
{approval:Review|assignable=true}
{state}
{trigger:statechanged|state=Review}
{add-restriction:type=Edit|user=@Reviewers@}
{trigger}
{state:Published|final=true|updated=Editing}
{state}
{trigger:statechanged|state=Published}
{add-restriction:type=Edit|group=confluence-users}
{trigger}
{workflow}
Thanks.,
Nhung