mirror of https://github.com/go-gitea/gitea.git
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> |
||
|---|---|---|
| .. | ||
| applications | ||
| auth | ||
| config_settings | ||
| emails | ||
| org | ||
| packages | ||
| repo | ||
| runners | ||
| user | ||
| actions.tmpl | ||
| config.tmpl | ||
| cron.tmpl | ||
| dashboard.tmpl | ||
| hook_new.tmpl | ||
| hooks.tmpl | ||
| layout_footer.tmpl | ||
| layout_head.tmpl | ||
| navbar.tmpl | ||
| notice.tmpl | ||
| perftrace.tmpl | ||
| queue.tmpl | ||
| queue_manage.tmpl | ||
| self_check.tmpl | ||
| stacktrace-row.tmpl | ||
| stacktrace.tmpl | ||
| stats.tmpl | ||
| system_status.tmpl | ||
| trace_tabs.tmpl | ||