IanM I think you forgot to change the title.
FoF Impersonate, login as other users
Can you mark https://packagist.org/packages/flagrow/impersonate as abandoned?
- Edited
0.4.1
- Adds an
Impersonated
event when a user impersonates another user - Integrates with
fof/moderator-notes
as of0.1.3
Updating
composer require fof/impersonate
php flarum cache:clear
- Edited
0.5.0
- New modal
- Integrates with
fof/moderator-notes
- Changed endpoint from
/impersonate/{user id}
to/impersonate
(provide user ID and reason in POST body) - Admin option to enable required reason
Impersonated
event passes the 'reason' for processing byfof/moderator-notes
(or any other extension that wants to listen for this)
Full integrations with fof/moderator-notes
as of 0.1.6
[Forum]
fof/moderator-notes
disabled:
[Forum]
fof/moderator-notes
enabled, but reason not enforced:
[Forum[
fof/moderator-notes
enabled, reason enforced (pls ignore the 'debug'!):
[Admin]
fof/moderator-notes
not installed
[Admin]
fof/moderator-notes
enabled, default setting
Updating
composer require fof/impersonate
php flarum cache:clear
- Edited
Can someone enlight me on why do we have this extension? I mean why would I want to impersonate an user?
Kylo I'm sure there are many use cases. For me the most important is help desk / troubleshooting. You don't want to need to ask a user password to inspect what they can see when they have a problem. It's a feature many websites have for customer support. Depending on the context, you might want to add a PIN feature to prevent abuse, this feature is not available at this time.
It's also very useful in staging environments for switching test users.
The number of downloads clearly shows there is interest.
As for spying on users, an admin can always do it anyway. With this extension they could extend that power to users who don't control the server hardware.
Of course if you don't like the concept, you can simply not install it.
[deleted]
Kylo Can someone enlight me on why do we have this extension? I mean why would I want to impersonate an user?
Literally every online platform in fact has this - it's really the only way to simulate the user experience in terms of troubleshooting etc. In most cases, impersonation is installed as a role, but can only be activated by the customer, and for set periods of time.
- Edited
I have a couple of questions regarding the extension.
1- Do users get notified by any chance when impersonating them? Can they check logs of who got into their accounts somehow?
2- Am I able to be on someone's account at the same time he is on his account? So both of us using the account at the same time
Mark73 1- Do users get notified by any chance when impersonating them? Can they check logs of who got into their accounts somehow?
No, there is no indication to the user. A record is logged that the action was performed if fof/moderator-notes
is also installed however.
Mark73 2- Am I able to to be on someone's account at the same time he is on his account? So both of us using the account at the same time
Yes, this is possible
I'm getting this error when trying to install the extension locally:
Content-Length mismatch, received 31475 bytes out of the expected 1478527
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
- Edited
Mark73 I doubt it's specific to this extension. Maybe your proxy or firewall is messing up with Composer. Or Packagist experiences difficulties of their own.
clarkwinkelmann Makes sense, I tried to install some other extensions and it did not work! I will try to figure it out
0.7.0
- Flarum beta 15 support
The impersonate function doesn't seem to be working for me, not sure if it's isolated to my setup. I do have a SSO extension, but I even disabled it for testing with no luck. After initiating the login of a user the page refreshes but I'm still logged in as myself. Can anyone else who has this on Beta 15 let me know if it is working for them?
ctml I have just used Impersonate on beta 15 without any issue.
Can you maybe try disabling some extensions to see whether any is causing the problem?