Forums

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

Hide Dashboard - Consequences?

Dave_Harrington
Contributor
April 1, 2013

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
Answer accepted
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2013

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

Dave_Harrington
Contributor
April 2, 2013

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...?

KP11
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2013

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?

Armon Tiongco September 8, 2013

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

0 votes
KP11
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2013

Confluence Admin>Layouts

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events