Hide Dashboard - Consequences?

Is it possible to selectively hide the Dashboard from certain users/groups?

If so, does doing so affect what can be displayed for those groups (in the space they are restricted to) in terms of using {include} etc?

For example:

Group ABC can view content in Space 123. We'd like any user from this group to "land" in this space when logging in, and not be able to get to the Dashboard, or navigate to other spaces.

However, we'd like our internal users to be able to use the include macro to display content to the group from Space 987. We have given the group view permission to 987, but don't want them to be able to actually navigate to it. Hence, the hidden Dashboard.

Will this work?

Thanks for any help...

2 answers

1 accepted

1 vote
Accepted answer

Hi Dave,

I did some quick search here and I've found this other answer which might have some tips for you to hode the dashboard for anonymous users and for groups as well.

Here is the link: https://answers.atlassian.com/questions/783/hide-dashboard-action-page-from-anonymous-users

My colleague Husein specified the visibility plugin and redirection plugin as a workaround for that.

In his example if you can add the following in your Global Layout the anonymous will be redirected to the demonstration space when they reach the dashboard.

$helper.renderConfluenceMacro("{show-to:users=@anonymous}")

$helper.renderConfluenceMacro("{redirect:ds:}")

$helper.renderConfluenceMacro("{show-to}")

I hope this helps! :D

Regards,

Rodrigo

Thanks... While the code snippet is specific to redirecting anonymous users, I think I can get how using the show-if macro (show-to and hide-from have both been deprecated - according to the plugin docs) would accomplish what I'm after. Although, I'm not sure where in the global layout I should insert the code in order to a) hide the breadcrumbs from certain users when they are land in their specific space, and/or b) if the dashboard is must be shown, hide some of the recent update tabs, at least. Any details would be appreciated, since I'd rather not experiment with something so critical...?

We tried the above 3 lines and got stuck at message "Redirecting to :ISC"

We used Groups instead of users.

Any idea what we are doing wrong?

Where is the Global Layout available? I have Documentation Theme configured and it seems to be preventing me from editing the layouts.

Confluence Admin>Layouts

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,521 views 25 14
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