1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-10 13:58:22 +01:00
gitea/services/pull
Lunny Xiao 99b0bf7324
Fix bug to check whether user can update pull request branch or rebase branch (#36465)
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: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-05 11:31:34 -08:00
..
check_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
check.go Pull Request Pusher should be the author of the merge (#36581) 2026-03-02 20:05:58 +00:00
comment_test.go Fix force push time-line commit comments of pull request (#36653) 2026-02-22 21:30:31 +00:00
comment.go Fix force push time-line commit comments of pull request (#36653) 2026-02-22 21:30:31 +00:00
commit_status_test.go Fix required contexts and commit status matching bug (#34815) 2025-06-22 23:31:46 +00:00
commit_status.go Add ability to download subpath archive (#36371) 2026-01-16 09:31:12 +00:00
edits.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
lfs.go Refactor git command stdio pipe (#36422) 2026-01-22 06:04:26 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
merge_ff_only.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_merge.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_prepare.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_rebase.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_squash.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_test.go Always use an empty line to separate the commit message and trailer (#34512) 2025-06-02 06:29:16 +00:00
merge_tree_test.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge_tree.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
merge.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
patch_unmerged.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
patch.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
protected_branch.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 -07:00
pull_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
review_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
review.go Enable nilnil linter for new code (#36591) 2026-02-16 09:57:18 +00:00
reviewer_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
reviewer.go Fix team permissions (#34827) 2025-06-24 21:24:09 +08:00
temp_repo.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
update_rebase.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
update_test.go Fix bug to check whether user can update pull request branch or rebase branch (#36465) 2026-03-05 11:31:34 -08:00
update.go Fix bug to check whether user can update pull request branch or rebase branch (#36465) 2026-03-05 11:31:34 -08:00