Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,856
Community Members
 
Community Events
165
Community Groups

Page or parent restrictions via SQL

Edited

I am trying to get page restrictions where either

  • The page has direct permissions
  • The page inherits permissions from its parent
  • The page inherits permissions from its space

I can still get direct page/space restrictions, but I am unable to find the users/groups that a page inherits from its parent. Here is my page structure:

Use Case 1

  • Page 1 (Page ID - 1001) - Restricted to User1, User2
    • Page 1.1(Page ID - 1002) - Restricted to User2
      • Page 1.1.1(Page ID - 1003) - Unrestricted

Use Case 2

  • Page 2 (Page ID - 2001) - Restricted to User1, User2
    • Page 2.2(Page ID - 2002) - Unrestricted
      • Page 2.2.2(Page ID - 2003) - Unrestricted

I want to get the users/groups via SQL query who have access to a specific page when I pass them the ID to that page. My requirement is

  1. For use case 1, when I provide 1003, it should return me users/groups that have access to 1002.
  2. For use case 2, when I provide 2003, it should return users/groups that have access to 2001.

1 answer

0 votes
Brant Schroeder Community Leader Jan 15, 2022

@Ted Lawson 

This is the only KB I know of that has SQL close to what you are looking for.  https://confluence.atlassian.com/confkb/how-to-list-pages-with-restrictions-951412334.html

Suggest an answer

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

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

91 views 0 0
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