Re: LiveUser: How to let users switch identity?
| From: | Hinnerk Voss | Date: | Wed, 01 Nov 2006 17:33:38 +0000 |
| Subject: | Re: LiveUser: How to let users switch identity? | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25693@lists.php.net to get a copy of this message | ||
Is it possible for a liveuser to only switch the perm_user_id instead of logging in as another auth_user_id?
So there is one single login for a user, but he can switch between different perm_user_id's (i.e. right sets / identities). This seems to be the most practicable way for implementing my requirements.
Regards,
Hinnerk
Lukas Kahwe Smith wrote:
Hinnerk Voss wrote:Ian Warner wrote:Hi thats a strange one - I have only started looking at this myself today:o)The login() method optionally accepts auth user id (note:it should probably also optionally accept an auth container name). Maybe you can work out a solution with this. You would probably need to add something to the session to remember the original user information. If you need any changes to LiveUser feel free to file a feature request. This seems like a very useful feature request. I even have faint memories of this being mentioned before. regards, Lukasi think you need to use the GROUP options, ie A will be in admin group Admins and they are allowed to administer group users which contains user BIt's for a community of thousands of users. The users should be allowed do have multiple accounts with different rights (and they own different objects like forum articles, instant messages etc.) - managed through one single login. The users should be able to switch their (once registered as their own) identities without entering the password. So I don't think the group admin wouldn't be a solution.