Forums

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

Customizing Confluence Dashboard (logged in vs logged out)

Ian Mason February 24, 2014

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 votes
David at David Simpson Apps
Atlassian Partner
February 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

Ian Mason February 25, 2014

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 at David Simpson Apps
Atlassian Partner
March 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
TAGS
AUG Leaders

Atlassian Community Events