[Feature request] allow administrator to switch to any user account #6279
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
This is a feature request/enhancement proposal.
Allow Gitea administrator to impersonate any user (switch to their account) so he can easily check and fix their settings, access rights etc.
If think the way this should be implemented is by generating URLs with one time ticket included as request parameter, so Administrator can easily open it in "Incognito/Private browsing" window, without affecting his existing session.
https://mygitea.example.com/user/service-login?ticket=1c68ea528986fda7ef9089ee93bb592320cc30da
(similarly to password reset links)
Also, I'd recommend the URL to only be printed, not made clickable, to force user to copy and paste it into another browser window.
Currently, switching to another user account can only be done by resetting the password, with no simple way of restoring it to previous value. (direct DB manipulation required)
This would also resolve #3631
Description
...
Screenshots
The text was updated successfully, but these errors were encountered: