[Vtigercrm-developers] Secondary login on SAME user-account?
Błażej Pabiszczak
b.pabiszczak at yetiforce.com
Wed Aug 17 21:44:50 GMT 2016
In YetiForce, there is a mechanism that allows to login from an A user's
account to B user's account. When an A user is logged in to a B user's
account he can see same data as user B but when he wants to add
something [e.g. a comment] then it is added as A user.
1. You can test here:https://gitdeveloper.yetiforce.com/index.php
2. You can configure here:
https://gitdeveloper.yetiforce.com/index.php?module=Users&view=SwitchUsers&parent=Settings&block=4&fieldid=17
The solution is open source, all you need to do is to move it from
YetiForce to Vtiger.
---
Z poważaniem / Regards
BŁAŻEJ PABISZCZAK
_Chief Executive Officer_
M: +48.884999123
E: b.pabiszczak at yetiforce.com
-------------------------
W dniu 2016-08-15 12:51, socialboostdk napisał(a):
> Hi there,
>
> I have a very special challenge, where i basically need 2 logins for same user-account:
>
> I'm supposed to make a assistant user to the main user. The assistant-user will have identical rights, etc., the special case is that whatever the assistant-user does will look and act like it was the main-user doing it.
>
> Ie. if assistant-user adds a contact, then this should be assigned to main-user and if an event is added by either assistant-user or main-user then this should always be assigned to main-user, etc.
>
> It is not important how logins / updates / history etc. looks.
>
> My idea is as follows: I would not actually make 2 users, but just have the userinfo (email+pass) for assistant-user as extra fields for main-user-account, and then check in the login-script if the login matches ANY of those two, and in that case log the person in as the main-user. This would in effect mean that i would make 2 logins for same account.
>
> Does anyone has better suggestion? And where would i need to do changes for this to happen?
>
> Thanks for any input!
>
> Cheers,
> Chris
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160817/f45ac329/attachment.html>
More information about the vtigercrm-developers
mailing list