mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-22 07:15:26 +08:00

Backport #32066 by @lunny The previous implementation requires admin permission to rename branches which should be write permission. Fix #31993 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>