mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-09 19:35:21 +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>