Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Comala Wrokflow Macro add-restriction

Tamari Janelidze July 8, 2019

Hello, 

I am trying to use Comala Workflow add-restriction macro.  First, I have started following  the same example given in the Documentation:

{workflow:name=Edit restrictions}   

{state:Editing|submit=Review}   

{state}   

{state:Review}   

{state}   

{trigger:statechanged|state=Review}      

{add-restriction:type=edit|user=@creator@|group=reviewers}   

{trigger}

{workflow}

 

I have assined the value to the creator parameter. This user generally has editing permission, but at the review stage I want to restrict him to be able to edit.  

Unfortunately he can still edit on any stage.  

Does anyone have any ideas? 

Thanks in advance! 

 

1 answer

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2019

First I think @creator@@ is a built in reference to the user who created the page in Confluence.

Second, with the code as is, the page creator can always edit the page and any one in the group reviewers. The restriction disables all other users from editing at the Review stage.

Third, I wonder if you have a typo in this statement:

This user generally has editing permission, but at the review stage I want to restrict him to be able to edit. 

are you wanting to prevent him from editing at the Review stage?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events