Skip to content

Instantly share code, notes, and snippets.

@jc1518
Created December 6, 2018 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jc1518/d993ff4ec98bfb90b3b1380db7557635 to your computer and use it in GitHub Desktop.
Save jc1518/d993ff4ec98bfb90b3b1380db7557635 to your computer and use it in GitHub Desktop.
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