gitea/templates
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
..
admin Allow admins to rename non-local users (#35970) 2025-11-23 20:59:55 +07:00
api/packages/pypi
base Add "site admin" back to profile menu (#36010) 2025-11-23 22:29:58 +07:00
custom
devtest Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +07:00
explore Forks repository list page follow other repositories page (#34784) 2025-06-21 12:27:25 +07:00
mail Fix various bugs (#35684) 2025-10-19 00:37:50 +07:00
org Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +07:00
package Fix Arch repo pacman.conf snippet (#35825) 2025-11-04 18:07:04 +07:00
projects Change project default column icon to 'star' (#35967) 2025-11-18 10:55:27 +07:00
repo wiki: reuse selectable style for wiki (#35990) 2025-11-20 21:23:14 +07:00
shared Misc CSS fixes (#35888) 2025-11-19 03:02:41 +07:00
status Support selecting theme on the footer (#35741) 2025-10-28 18:25:00 +07:00
swagger Make "update file" API can create a new file when SHA is not set (#35738) 2025-10-24 12:46:54 +07:00
user Contribution heatmap improvements (#35876) 2025-11-06 09:23:48 +07:00
webhook
home.tmpl Misc CSS fixes (#34638) 2025-06-07 19:57:07 +07:00
install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +07:00
post-install.tmpl Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +07:00