To avoid creating lists of links that include pages users are not permitted to view, rely on Confluence to generate the list of links. |
Use the Children Display macro or one of the Page Tree macros to list the child pages of any page. An example follows. There are two child pages (both have a title only).
When you are not logged in, the page displays one link in the list. When you are logged in, the page displays two links. Links in a list produced with the Children Display macro or one of the Page Tree macros are visible only to users with permission to view the pages.
Whether you are logged in or not, this link is available: A Page Restricted to One Group. When you click the link, the response from the system depends on various factors:
The same is true for links generated with the Page Index macro.