[Feature request] allow administrator to switch to any user account #3027

Closed
opened 2025-11-02 04:57:54 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @mateusza on GitHub (Mar 8, 2019).

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

Originally created by @mateusza on GitHub (Mar 8, 2019). 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 <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/featuretype/proposal labels 2025-11-02 04:57:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3027