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

Accepted Answer
0 votes

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 votes

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
Community showcase
Published Tuesday in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

331 views 0 9
Read article

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