User impersonation #1231

Closed
opened 2025-11-02 03:53:11 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @mixman68 on GitHub (Nov 10, 2017).

  • Gitea version (or commit ref): 1.2.3
  • Git version: debian9 version
  • Operating system: debian9
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Impersonation feature is relevant for me. I manage a small gitea with few persons whose complain about bad permissions, ssh key issue. Impersonate user should be a good option for assistance user.

Screenshots

Originally created by @mixman68 on GitHub (Nov 10, 2017). - Gitea version (or commit ref): 1.2.3 - Git version: debian9 version - Operating system: debian9 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description Impersonation feature is relevant for me. I manage a small gitea with few persons whose complain about bad permissions, ssh key issue. Impersonate user should be a good option for assistance user. ## Screenshots
GiteaMirror added the type/feature label 2025-11-02 03:53:11 -06:00
Author
Owner

@lafriks commented on GitHub (Nov 10, 2017):

Not a best option but as workaround you can copy password hash from user table, change password, login with that user, update user password hash back in database

@lafriks commented on GitHub (Nov 10, 2017): Not a best option but as workaround you can copy password hash from `user` table, change password, login with that user, update user password hash back in database
Author
Owner

@mixman68 commented on GitHub (Nov 11, 2017):

It is a request because we have leaved gitlab and one of our admin use this often in gitlab. I will communicate your suggestion

@mixman68 commented on GitHub (Nov 11, 2017): It is a request because we have leaved gitlab and one of our admin use this often in gitlab. I will communicate your suggestion
Author
Owner

@lafriks commented on GitHub (Nov 11, 2017):

Yes, I understand, I just giving you temporary workaround while this feature is not implemented

@lafriks commented on GitHub (Nov 11, 2017): Yes, I understand, I just giving you temporary workaround while this feature is not implemented
Author
Owner

@bkcsoft commented on GitHub (Nov 23, 2017):

@lafriks @djgreg13 I think you can login with an accesstoken no?

@bkcsoft commented on GitHub (Nov 23, 2017): @lafriks @djgreg13 I think you can login with an accesstoken no?
Author
Owner

@techknowlogick commented on GitHub (Sep 10, 2018):

api sudo functionality now possible to "impersonate" users.

@techknowlogick commented on GitHub (Sep 10, 2018): api sudo functionality now possible to "impersonate" users.
Author
Owner

@lunny commented on GitHub (Sep 11, 2018):

resolved by #4809

@lunny commented on GitHub (Sep 11, 2018): resolved by #4809
Author
Owner

@ewildgoose commented on GitHub (Jan 13, 2019):

How is it possible to "impersonate" through the normal web interface? ie as per impersonate feature in gitlab? I mainly just want to manage users created to hold ssh keys from our servers doing mainly infrastructure type tasks (checkout / checking configuration data)

@ewildgoose commented on GitHub (Jan 13, 2019): How is it possible to "impersonate" through the normal web interface? ie as per impersonate feature in gitlab? I mainly just want to manage users created to hold ssh keys from our servers doing mainly infrastructure type tasks (checkout / checking configuration data)
Author
Owner

@lunny commented on GitHub (Jan 13, 2019):

@ewildgoose that maybe a new feature request?

@lunny commented on GitHub (Jan 13, 2019): @ewildgoose that maybe a new feature request?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1231