It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Set page restrictions to all pages

Hello,

using Comala Document Management, we add page view restrictions based on specific states.

So there are already quite some pages which can be viewed by only a special group.

We want to add another group to be able to view all these pages.

Is it possible to set the view page restriction for all relevant pages (easy or at once)?

1 answer

1 accepted

Hi Michael!

There is a trick called 'cascade workflows' in Comala Document Management that will allow you to fire a trigger for specific pages in the whole space. I think that's exactly what you are looking for. 

  • Edit your workflow in markup mode. Add a trigger like the following one to your workflow:

{trigger:labeladded|label=restrict|state=Approved}
{set-label:restrict|children=true}
{set-restrictions:type=Edit|group=group1, group2}
{remove-label:restrict}
{trigger}

When this label is added to a page (I suggest the 'home' page - but make sure it is in the Approved state)

This trigger will fire when the label restrict is added to the page, this results in the following actions:

  • It will set the label restrict to its child pages,
    • This is where the cascade happens - this causes the trigger to fire on the child pages
  • It then sets restrictions
  • and then remove the restrict label

Two things to note:

  • You will not see the label on the page because it is immediately removed
  • You will need to wait some time (depending on the size of your space) for the cascade to take complete effect

If you need help implementing cascade workflows in your set up, do contact our support team at https://comalatech.jira.com/servicedesk/customer/portal/1

All the best

Jorge

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,393 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you