I absolutely love this module. I have a website that is mostly public, but I'm also using it to share information with a few people that has to stay private. This module (together with nodeaccess) makes that extremely easy and also solves the problem of user "zombies".
But I am missing one little feature: being able to assign the login path per user (or perhaps per group), rather than globally. The way I have this set up, all users are going directly to the one page that is meant for them. But that doesn't work if I have several things I want to share with different users at the same time. Would that be difficult to implement?
Comments
Comment #1
jpetso commentedYou can actually assign the login path per user - insert "!host_uid" and/or "!invited_uid" somewhere into the login path, and users will be directed there.
I don't want to introduce login paths by user roles, because those can be more than one per user, and then I'd need to know the role separator character and if roles should be replaced by their role ids or their actual role names, and so on. Instead, if the uid replacement doesn't suffice for your use case, I advise you to set the login path to some custom URL (say, "role-redirect/!invited_uid") that redirects the user based on their roles. You could have a small module that does this, like (not tested):
Copy this into a role_redirect.module, copy and modify some .info file into role_redirect.info, and you're done. This may or may not work - as mentioned, I haven't tested it at all, it's just a quickly written up sketch. Anyways, even if it doesn't work, this is about the way you want to go for this.
Comment #2
eagereyes commentedI guess I can do this with the path redirect module per user. I see the problem with doing this per role, though I am obviously only assigning one role for temporary users. But it would still be useful to be able to override the default per user, so it's one step instead of two to set this up.
Comment #3
(not verified) commented