0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-05 10:01:33 +02:00

1 Commits

Author SHA1 Message Date
Giteabot
76c539cd57
Fix bug to check whether user can update pull request branch or rebase branch (#36465) (#36838)
Backport #36465 by @lunny

When checking whether a user can update a pull request branch or perform
an update via rebase, a maintainer should inherit the pull request
author’s permissions if Allow maintainer edits is enabled.

Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com>
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-08 03:23:54 +00:00