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!
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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.