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
Nigel
Hi Nigel,
there is also a commercial plugin that should do the trick: Custom Dashboards. We use it and it works well.
Cheers
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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> #end #end
See the "<p>Hello admin!</p>", you can replace it with a JS redirect or even a HTTP redirect to the page you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
:) 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 :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.