Customizing Confluence Dashboard (logged in vs logged out)

Is there any easy way to add an IF statement to the Confluence dashboard such that a logged in user sees a different set of buttons vs a logged out user?

1 answer

0 vote
David Simpson Community Champion Feb 24, 2014

Browse to Confluence Admin | Look & Feel | Layouts

Edit the Global Decorator with something like this:

#if($action.authenticatedUser)
  ## logged in user logic/buttons etc
#else
  ## anon user
#end

Between the if and then the else statement, do I have to reproduce all the elements from the code between <!---General Page Decorating Begins --> and <! -- ends>? or just those buttons I'd like to modify?

David Simpson Community Champion Mar 19, 2014

Just the bits you want to change. if this is in lots of places, you can add lots of "if..else..end" statements

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

144 views 19 3
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