Comola Document Manage how to use macro to set view and edit permision all to everyone

Nhung Nguyen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2022

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events