0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-21 02:43:58 +01:00
gitea/services/pull
a1012112796 a7b2707be9
Fix Agit pull request permission check (#32999)
user with read permission should also can create agit flow pull request.
looks this logic was broken in
https://github.com/go-gitea/gitea/pull/31033 this pull request try fix
it and add test code.

---------

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-27 18:17:01 +00:00
..
check_test.go
check.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
comment.go
commit_status_test.go
commit_status.go
edits.go
lfs.go
main_test.go
merge_ff_only.go
merge_merge.go
merge_prepare.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
merge_rebase.go
merge_squash.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
merge_test.go
merge.go Use CloseIssue and ReopenIssue instead of ChangeStatus (#32467) 2024-12-25 07:38:30 +00:00
patch_unmerged.go
patch.go Refactor getpatch/getdiff functions and remove unnecessary fallback (#32817) 2024-12-24 14:29:34 +08:00
pull_test.go
pull.go Fix Agit pull request permission check (#32999) 2024-12-27 18:17:01 +00:00
review_test.go
review.go
reviewer_test.go
reviewer.go
temp_repo.go
update_rebase.go
update.go