Impersonating another user

Posted By Supermac Tue 23 May 2017
Add to Favorites0
Author Message
Supermac
 Posted Tue 23 May 2017
Supreme Being

Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)Supreme Being - (84,751 reputation)

Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153, Visits: 874
I need to grant an access to an user (an agent) that has then to select one of his customers and navigate the site/see prices/create orders as he was that customer...

Lets say that I got both agent and customers stored in Kartris' users table and that I can already link agent with his customers: agent could decide to create an order for one of his customer selecting customer's name from a dropdown list (I don't want to give agent all customers' username and pwd and tell him to log in again using credentials of customer)... after that operation agent should see the site as he was the customer (so he should even "temporarely" belong to customer's customerGroup, add items to basket and complete order, see orders history, etc...).

My problem is how to tell Kartris that agent is navigating/seeing prices/ordering with customer account (I think I should effectively use customer account having a session variable that flags user as agent)... every suggestion on how to reach that result is welcome.


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top