Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Is there a way to see all page restrictions in a single location?

I'm running Confluence DC 7.9.3 and I want to be able to see all of the page restrictions that have been created across the environment.

I know that I can go to each individual space and see the restricted pages there, but I don't want to have to go through all of the spaces we have and make notes for each space.


Whether it's part of the basic Confluence functionality or through a third-party plugin, is there a way that I can display, on a single page, a list of all of the restricted pages (and what spaces they are under)?


1 answer

1 accepted

0 votes
Answer accepted

@Matt Parks

The only plugin I see close to that is this one. The functionality you're looking for doesn't exist in Confluence out of the box. This plugin will show you page restrictions broken down as they apply to various groups, but I'm not sure that's quite what you're looking for.



@Kian Stack Mumo Systems 

Thanks for the quick reply. We keep most of our users in just a couple of groups that give them access to Confluence, so the restrictions are added at the individual user level. This means that most of the restrictions wouldn't show up in the above plugin.

I'll mark your answer as accepted.

I ended up creating something in scriptrunner that goes through all of the spaces and returns any pages that are restricted. I skip over the personal/archived spaces.


import com.atlassian.confluence.spaces.Space
import com.atlassian.confluence.spaces.SpaceManager
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.pages.PageManager
import com.atlassian.confluence.pages.Page

PageManager pageMan = ComponentLocator.getComponent(PageManager)
SpaceManager spaceMan = ComponentLocator.getComponent(SpaceManager)

def spaces = spaceMan.getAllSpaces()
String allSpaces = ""

for (space in spaces)
if (space.isPersonal())

if (space.isArchived())

def permissions = pageMan.getPermissionPages(space) as List<Page>

for (permission in permissions)
if (!allSpaces.contains("${space.getName()}, "))
allSpaces = allSpaces + space.getName() + ", <br>"


return allSpaces

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,780 views 8 32
Read article

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