Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Logging in" as specific user #197

Closed
ebrightTP opened this issue Jan 9, 2015 · 4 comments
Closed

"Logging in" as specific user #197

ebrightTP opened this issue Jan 9, 2015 · 4 comments
Labels
use and extension Misc feature request

Comments

@ebrightTP
Copy link

Is there a way to "Spoof" that you are a specific user from an Admin environment (blocking specific functionality for privacy's sake), and subsequently return to the Admin environment?

Failing that, is there a way to log in as a specific user from an Admin environment in UserFrosting?

@r3wt
Copy link

r3wt commented Jan 9, 2015

The method isn't built in, but its possible if you code it up. What you'd want to do is use fetchuserdetails() to construct a loggedInUser object. your admin session would still exist, but alongside it could be whatever loggedInUser session you like.

@alexweissman
Copy link
Member

It's an interesting idea, and I seem to recall someone asking about this as well. What are you trying to accomplish by logging in as another user? Debugging? Performing actions on their behalf?

@alexweissman alexweissman added the use and extension Misc feature request label Jan 9, 2015
@ebrightTP
Copy link
Author

The original idea was to perform actions on their behalf; I'm uncertain as to whether or not this will be needed, however, since I have informed the person who wishes to have this functionality that I will make it so that Admins/Salespeople (UF user groups) will be able to "give" items/files generated to specific users.

@alexweissman
Copy link
Member

Ok, added this to the feature request list: https://github.com/alexweissman/UserFrosting/wiki/Feature-request-list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
use and extension Misc feature request
Projects
None yet
Development

No branches or pull requests

3 participants