gitea/templates/admin
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
..
applications
auth Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +07:00
config_settings split admin config settings templates to make it maintain easier (#35294) 2025-09-04 15:42:26 +07:00
emails Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +07:00
org Add "No data available" display when list is empty (#33517) 2025-02-09 00:13:41 +07:00
packages Refactor "delete-button" to "link-action" (#34962) 2025-07-06 00:01:53 +07:00
repo UI: add hover background to table rows in user and repo admin page (#35072) 2025-07-14 08:29:35 +07:00
runners
user Allow admins to rename non-local users (#35970) 2025-11-23 20:59:55 +07:00
actions.tmpl
config.tmpl Fix code tag style problem and LFS view bug (#35628) 2025-10-12 02:38:42 +07:00
cron.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +07:00
dashboard.tmpl Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +07:00
hook_new.tmpl
hooks.tmpl Refactor webhook and fix feishu/lark secret (#34961) 2025-07-06 06:04:08 +07:00
layout_footer.tmpl
layout_head.tmpl Fix flash message for flex-container (#30657) 2024-04-23 08:31:51 +07:00
navbar.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +07:00
notice.tmpl Remove unnecessary code and fix comments (#35761) 2025-10-28 18:03:57 +07:00
perftrace.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +07:00
queue.tmpl
queue_manage.tmpl
self_check.tmpl Add cache test for admins (#31265) 2024-06-17 21:22:39 +07:00
stacktrace-row.tmpl Fix code tag style problem and LFS view bug (#35628) 2025-10-12 02:38:42 +07:00
stacktrace.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +07:00
stats.tmpl
system_status.tmpl
trace_tabs.tmpl Support performance trace (#32973) 2025-01-21 18:57:07 +07:00