Does Confluence support personalisation via Active Directory

Hi, it is possible to configure Confluence up so it displays a different dashboard or content that is dependant on the users AD entry. i.e All members of the FInance AD group will see the FinanceDashboard, the Legal Team AD group will only see the Legal dashboard etc.

I don't need any detailed instructions at this stage just an idea of whether its possible.

Many thanks


3 answers

You can add logic like this on your landing page. A User macro will do the trick.

Something like:

#set ($userGroups = $userAccessor.getGroupNames($action.authenticatedUser))
#set ($groupToMatch = "confluence-administrators")
#foreach ($group in $userGroups)
  #if($group == $groupToMatch)
    <p>Hello admin!</p>

See the "<p>Hello admin!</p>", you can replace it with a JS redirect or even a HTTP redirect to the page you want.

I like the simplicity for this approach, but need to know exact details on how to accomplish adding this to the default dashboard in Confluence. Thanks in advance for yoru help!

:) Confluence Admin -> Layouts -> Site Layouts -> Global Layout choose "create custom", unless you have something custom already and then (as the original requirement to have different content for different user groups) I will go with redirects (preparing own "dashboard" like pages for each group) and will insert the above code to (for example) the line bore the following: <div class="pagebody"> that's it :)

Cool So then you make a call to the user macro you created after the 'pagebody' line. What is the syntax for the call to the user macro?

Actually, if I go with a custom global layout I will not use a user macro there, but will put the code (velocity) as is.

0 vote
Thomas Schlegel Community Champion Jan 30, 2015

Hi Nigel,

there is also a commercial plugin that should do the trick: Custom Dashboards. We use it and it works well.



Thanks everyone for all your helpful comments.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

366 views 20 10
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