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

This widget could not be displayed.
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
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

78 views 0 0
View post

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