There is a sub-page with some data I would like to have only some team members to have access to, but only that subpage. They have view permissions to the space, but the page tree I manage is very restricted. The problem is that even when they have view permissions to that subpage, they can't access the information, is that because they don't have view permission to the parent page?
Imagine hypothetically if you could restrict the parent and still view a child page. If you restrict the view to the parent page, then how would the child page be displayed in the sidebar? Simply floating with no parent? (restricted pages are not displayed at all, even in the sidebar, because even the title might be confidential)
That's why view restrictions are inherited by the children/descendants. Your only options are:
## @param PageToInclude:title=Page ID of page to include|type=string|required=true
#set ( $allowedPages = ["12345678"] ) // $allowedPages = ["1", "2", "3"]
#if ( $allowedPages.contains($paramPageToInclude) )
#set ( $Long = $generalUtil.getSystemStartupTime() )
#set ( $pageId = $Long.parseLong($paramPageToInclude) )
#set ( $page = $pageManager.getPage($pageId) )
#set ( $pageContent = "<p>Page not Found</p>" )
#set ( $pageContent = $page.getBodyAsString() )
substituting "12345678" with the page ID that you want to show, or for additional pages by following the template (this is necessary because it bypasses Confluence permissions, so if you don't restrict the pages then someone could use it to display any page in Confluence). Then create a page with a slightly different name somewhere in the space that is visible to the team and insert this macro along with the page ID to display the page content there.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
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!
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