Skip to content

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

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

Closed
mateusza opened this issue Mar 8, 2019 · 0 comments
Closed
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.

Comments

@mateusza
Copy link

mateusza commented 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

@techknowlogick techknowlogick added type/proposal The new feature has not been accepted yet but needs to be discussed first. type/feature Completely new functionality. Can only be merged if feature freeze is not active. labels Mar 9, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

No branches or pull requests

2 participants