gitea/templates/admin/user
Andrew Melnick 688430e3ce
Allow admins to rename non-local users (#35970)
Presently, attempting to rename a non-local (e.g. Oauth2 or LDAP) user
results in an error, even if the requester is an administrator. As far
as I can tell, this is a security feature, not architectural in nature,
as automatic account linking could be used to take control of another
user's account. This is not a concern for an administrator, who we
should trust to know what they are doing.

This patch allows admins, and only admins, to rename non-local users.

Fixes https://github.com/go-gitea/gitea/issues/18308 (sort of)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-11-23 20:59:55 +07:00
..
edit.tmpl Allow admins to rename non-local users (#35970) 2025-11-23 20:59:55 +07:00
list.tmpl UI: add hover background to table rows in user and repo admin page (#35072) 2025-07-14 08:29:35 +07:00
new.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +07:00
view.tmpl Forks repository list page follow other repositories page (#34784) 2025-06-21 12:27:25 +07:00
view_details.tmpl Improve admin user view page (#33735) 2025-02-27 17:47:37 +07:00
view_emails.tmpl Improve admin user view page (#33735) 2025-02-27 17:47:37 +07:00