Personalized link to a space?
Asked by Andreas Koller:

Hi! Is there a way or custom makro to create a link to a specific space based on the user logged in? E.g. I want to create a button on the dashboard with a link to a space or spaces where user has access to it (without using the top navigation) - so the link needs to be user specific created.


Answers:
author: Fadoua
body: Hi Andreas,

Are you a Confluence Could? Or Confluence Server?

If I got your question right you want to customize the create button depending on the user.

comments: author: Andreas Koller
body: Hi,

I am on Confluence Server.

I do not want to customize the create button. I just want to create a link to a space where the user has access to.

Szenario: the user logs in -\> user will see the dashboard with a button which links to a specific space the user has access to it. A different user will see the same button but with a link to a different space and so on.

Thank you, Andreas


author: Fadoua
body: Hi Andreas,

Why don't you create a menu that will do what you exactly are looking for? It will have only spaces that a user has access to.


author: Andreas Koller
body: It is a design issue: because marketing will have a button on the deshboard - below the naviagtion with: enter your space.


author: Fadoua
body: Can you please send a screenshot after hiding any confidential information?


author: Andreas Koller
body: Your project space ENTER button should lead to the corresponding space the user has access to it.

![Site Home Global Site.png](https://community.atlassian.com/t5/image/serverpage/image-id/27230i9B3DA58A44F4D646/image-dimensions/629x357?v=v2 "Site Home Global Site.png")


author: Fadoua
body: First of all you have a very nice layout!

[@Andreas Koller](/t5/user/viewprofilepage/user-id/636586)that really helps. Once user clicks on Enter do you want him/her to see on the next page a list of spaces he has access to? Or you have one dedicated space for the user?


author: Fadoua
body: I asked [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) for help, let's see what he will suggest.


author: Andreas Koller
body: An option would be to list all spaces here the user has access to it - accept the public spaces (there are 4 of them).


author: Fadoua
body: [@Andreas Koller](/t5/user/viewprofilepage/user-id/636586)Oops wrong link, my apology

I also shared your question with other champions waiting for their suggestions. They may comment here directly. I am thinking only some scripting will do what you are looking for but let's make sure may be other Champions will have a different suggestion.


author: Andreas Koller
body: Thank you very much!


author: Nic Brough -Adaptavist-
body: I think the instinct to write a user macro that gives you at least a link to the spaces you can see is right.

I'm sure there's a way to iterate over the list of spaces, check permissions and then create a link to the home page in the space.


author: Fadoua
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)you mean the user macro will be helpful?


author: Fadoua
body: The landing page once users log in is the one the user is looking to customize per user. May be he can customize Confluence Dashboard per user which I am not sure if it is feasible


author: Nic Brough -Adaptavist-
body: Ah, I see. Confluence can land on one of two places when you first log in. Either the Confluence dashboard (to which I don't think you can add much without doing some core coding), or a specific home page in a space.

If you're using the second, then you could easily put a user-macro on it. I don't think there's much that can be done with the dashboard for this.


author: AnnWorley
body: [@Andreas Koller](/t5/user/viewprofilepage/user-id/636586), Nic's answer is in line with what I would suggest as well. Here are some docs with more details:

[Configuring the Site Home Page](https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html)

[Writing User Macros](https://confluence.atlassian.com/doc/writing-user-macros-4485.html)


author: Fadoua
body: Thank you so much for the help [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) and [@AnnWorley](/t5/user/viewprofilepage/user-id/502040)!


author: Andreas Koller
body: Thank you for all the answers and suggestions! I also came to the conclusion a user macro is needed here.

Best regards,  
Andreas


author: Fadoua
body: Thank you [@Andreas Koller](/t5/user/viewprofilepage/user-id/636586) for accepting my answer!