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 <[email protected]>
Signed-off-by: wxiaoguang <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>