Instantly share code, notes, and snippets.

Embed
What would you like to do?
Comala Workflow for Confluence Page Data Classification
{workflow:name=Data Classification Workflow}
{description}
Description here
{description}
{state:Public|colour=Green}
{state}
{state:Internal|colour=Blue}
{state}
{state:Protected|colour=Orange}
{state}
{state:Highly Protected|colour=Red}
{state}
{trigger:statechanged|state=Public}
{remove-restriction:type=view}
{remove-restriction:type=edit}
{trigger}
{trigger:statechanged|state=Internal}
{remove-restriction:type=view}
{remove-restriction:type=edit}
{add-restriction:type=view|user=@creator@|group=confluence-internal-staff}
{add-restriction:type=edit|user=@creator@|group=confluence-internal-staff}
{trigger}
{trigger:statechanged|state=Protected}
{remove-restriction:type=view}
{remove-restriction:type=edit}
{add-restriction:type=view|user=@creator@|group=confluence-power-users}
{add-restriction:type=edit|user=@creator@|group=confluence-power-users}
{trigger}
{trigger:statechanged|state=Highly Protected}
{remove-restriction:type=view}
{remove-restriction:type=edit}
{add-restriction:type=view|user=@creator@|group=confluence-administrators}
{add-restriction:type=edit|user=@creator@|group=confluence-administrators}
{trigger}
{workflow}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment