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