Is there a way to prevent users from seeing pages in draft?

My company is using Ad hoc workflows to approve pages in confluence. Currently, if a page is in draft only admins, authors and approvers can see it. Once it's published, all users can see the page. If that page is edited or rejected back into a draft state, users still see the page as was when it was published previously.

If a page is published and then put back into draft, can we prevent users from seeing the previously published page and make them see nothing instead.

The company I work for just wants to make sure that users aren't seeing outdated/incorrect information.

1 answer

1 accepted

Hi Patrick,

You can add a trigger on the state change to Draft to add a view restriction to limit the users that can view the page. For example:


For adding restrictions you can have as many groups or users as you want in one macro, just separate the list items with a comma. Just make sure to include everyone who you want to still be able to see and approve the drafts.

The remove-restriction as above, will remove all view restrictions so if you have other view restrictions on the page added outside of Ad hoc Workflows, you will want to use {add-restriction} to add them back in.

For more information about {add-restriction} please see and for {remove-restriction}, please see


Awesome, this helps a lot, thank you!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

915 views 23 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you