Forums

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

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

HW January 10, 2016

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

0 votes
Answer accepted
HW January 14, 2016

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...

 

1 vote
tsez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2016

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.

Appel February 15, 2016

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
0 votes
HW January 14, 2016

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

0 votes
Adrian Reid
Contributor
January 14, 2016

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

0 votes
Phill Fox
Community Champion
January 10, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events