Confluence: How to add a anonymous / public access startpage?

Hi there,

we are not using anonymous / public access to our confluence and login is granted only by our staff.

Now I'd like to display a page for persons that access our confluence URL and are not logged in, containing some hints on how to apply for an user account. In addition, I'd like that site only to appear for anonymous users/visitors.

In JIRA this is possible via the "System Dashboard" which is also displayed for anonymous / public access. Does Confluence offer a similar functionality or a work-around? I haven't found anything in the documentation or the answers.

If you tell me that I have to manually "build" a site with public access and no access for the group "confluence-users" that would be fine, I am just wondering if there is a smarter solution to this wink

Thanks in advance and kind regards

Hendrik

5 answers

1 accepted

This widget could not be displayed.

sigh Sometimes one doesn't see the simple solution, even if it is right in front of him.

The page I wanted to change is the "Overview"-Page for uncategorized spaces, which is the only site anonymous visitors can see. I simply edited that page and made from it an adequate startpage for everyone (welcome-text for newcomers and login link for the registered users).

We are using the RefinedWiki Original Theme, not sure if that has any influence to the above mentioned.

Thanks again everybody, for me this question is answered...

 

This widget could not be displayed.

Hi

You can customize the dashboard page in the administration console / Layouts / Global layout. And add this code:

#if ($helper.action.remoteUser)
 <dashboard for logged in users>
#else
<dashboard for anonymous users>
#end

You keep the dashboard code for the logged in users and you customize the code for the anonymous users.

This is also great for hiding headers etc for anonymous users.

Space Tools / Look and Feel / Layout / Main Layout / Edit

Search for:

#parse("/decorators/includes/common-header.vm")

Replace with:

#if ($helper.action.remoteUser)
  #parse("/decorators/includes/common-header.vm")
#else
  <!-- whatever you want to stuff in here -->
#end
This widget could not be displayed.

Hi @Hendrik Weißenberg

I am not aware of any method other than the "build" a site with only public access. So would also be interested to hear if anyone else has another solution.

Phill

This widget could not be displayed.

You could add a space which is open to anonymous users. Set access in Space Permissions for this space (Browse > Space Admin > Permissions). Then set this space as the default landing page by going to admin settings > Further Configuration.

image2016-1-15 9:16:27.png

This widget could not be displayed.

Hey everybody,

thanks for sharing your ideas.

@Adrian Reid That was also my first impulse, but our default startpage is already a diffenrent one :-/

@tsez I have tried to find out how to implement your code, but haven't succeeded yet. It tells me that I have to deactivate the Design in order to customize the layout like you said. I beleive I cant't do that during working hours wink

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

602 views 8 6
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you