go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.16k stars 5.41k forks source link

As Administrator, Impersonate another user in the web interface #21599

Open florisla opened 1 year ago

florisla commented 1 year ago

Feature Description

It would be very handy if an Administrator can 'impersonate' as another user in the web interface.

This allows the admin to check if that user has access to all the right repositories, and does not have access to stuff that should remain private.

Without this feature, the admin is forced to reset the user's password an use a different browser session to check this.

GitLab offers an 'Impersonate' button in its web interface, on the User profile page next to the 'Edit' button. See docs Admin Area - User impersonation.

This feature already got requested in #2883 but it was interpreted there as an API feature.

On this Discourse page, the feature was called 'Web account impersonation'.

Screenshots

GitLab Impersonate Impersonate button in GitLab.

florisla commented 1 year ago

This was requested in #6279 as well, and would be a solution for #3631.

simao-silva commented 2 weeks ago

Any progress on this feature?