diff options
author | Giteabot <teabot@gitea.io> | 2024-12-28 11:34:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-28 11:34:28 +0800 |
commit | f35ab5cd52871dd0ae3b175a54b4b63e1525a4aa (patch) | |
tree | 3a1c8889f7050c34d9570115de4c6d8934e26b98 /routers/api/v1/repo/hook.go | |
parent | 0137bc4e5cce2163fd2c9709c10a5214345e7cc7 (diff) | |
download | gitea-release/v1.23.tar.gz gitea-release/v1.23.zip |
Fix Agit pull request permission check (#32999) (#33005)release/v1.23
Backport #32999 by @a1012112796
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: a1012112796 <1012112796@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'routers/api/v1/repo/hook.go')
0 files changed, 0 insertions, 0 deletions