redirect users to a personal page within a space

I have a space which is intended to be accessed by clients.  This contains a list of pages for each client. I don't want each client to see the space homepage as it contains a list of all clients.  I want them at login to be directed to their own client page.  Is this possible?

I'm trying to avoid having a space for each client.

3 answers

1 accepted

Thanks again, Nic, that will work well if I can find out how to run a user macro specific to one user at logon.  That is, when someone from company XYZ logs on, the user macro GoToXYZ is run automatically.  Any ideas?

 

I'm not sure.  You'd need something to parse their user details to work out their company from something in $action.remoteUser  (I assume it's part of the email address for the user?).

Then it'll need to embed a redirect, which is out of my skill range (I don't do javascript beyond reading it and saying "ugh")

0 vote

There's no function for that in Confluence, but I suspect you might be able to write a "user macro" that will look at who the user is and issue a "redirect" to the correct page

I've got the user macro working to redirect to the right page, all I need now is to figure out how to run a specific user macro when a specific user logs on.  Any ideas?  

Macros are part of pages, not logins.

The only way I think this is going to work without changing the core code is to change the Confluence dashboard setting from "dashboard" to "specific home page" and make it land on a page that includes your macro.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

154 views 3 3
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