Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Have one page that lists all Confluence space names

Egle Kaziulionyte October 20, 2018

My use-case is to have a intro page on particular Confluence space that includes a list of all spaces names in this Confluence instance. Preferably, with the space admins list and some other data (created by and date). 

The built-in macro ("Spaces List") won't work, as it only shows the spaces you have access to :) . And our purpose is to have whole list visible even for non-logged in person.

1 answer

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2018

Confluence is quite solid on the security and visibility - if you can not see a space because you have no permissions for it, it remains hidden everywhere.

To display lists that include stuff people have no right to see, you have to override that, which can be done, but needs code.  You'll need to write an add-on that can bypass the permissions and drag out a full list of everything.

Tobias Anstett _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2018

I agree to Nic that this works around all the privacy and security considerations built into Confluence.

However there is a supported workaround ... 

  • enable anonymous access to your system
  • enable anonymous view access in all spaces
  • add a view restriction to the home page and all top-level pages which actually is a 1:1 config of your space permissions without anonymous

As I said this is a workaround and really risky as it will happen that people move pages or create additional top-level pages and your content is exposed by accident.

So if you want to solve this issue, only some custom code will help.

Best, Tobias

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events