All of my users are associated to a group via LDAP and all of my groups are associated with a Space. I want users to be redirected to the Space page of their respective groups when they login, but I don't know what token or page I can use to do that.

I have seen some talk of using Actions / Triggers for redirects on login, but when I go to set up the redirect URL and click "Browse Available Tokens" the page crashes. Does anyone know what token I could use for this?

I've seen some similar solutions using custom PHP, but seeing as I am not a PHP developer I hesitate to go that route. If that is the only solution, how would it be implemented?

Lastly, in another issue post I saw that Mike Potter referenced using a token that would represent the hierarchy of a menu path (to the best of my recollection that's what he said). Would it be possible to use a menu and tokens to accomplish what I am doing?

Any help is greatly appreciated!

Comments

Argus’s picture

If a user can be a member of many Spaces (which is true in Open Atrium), from my knowledge Drupal cannot know which Space the current user needs to be redirected to. It would require a per user setting wouldn't it?

ivangrozni’s picture

Category: Support request » Feature request

That was also a point of concern for me, but I wasn't sure how the associations between a user and group were formed and if it was just a list from which I could pull the first space and redirect to that and redirect to the home page if no membership exists.

Maybe that is just a conversation for a later release.

Argus’s picture

Status: Active » Closed (duplicate)