gitea/services
a1012112796 a7b2707be9
Fix Agit pull request permission check ()
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
..
actions Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token () 2024-12-23 09:59:16 +00:00
agit Add reviewers selection to new pull request () 2024-11-09 04:48:31 +00:00
asymkey Move delete deploy keys into service layer () 2024-12-18 04:10:38 +00:00
attachment Include file extension checks in attachment API () 2024-11-06 21:34:32 +00:00
auth Refactor request context () 2024-12-24 11:43:57 +08:00
automerge Add new event commit status creation and webhook implementation () 2024-11-07 06:41:49 +00:00
context Clarify path param naming () 2024-12-24 13:47:45 +00:00
contexttest Refactor request context () 2024-12-24 11:43:57 +08:00
convert Add more load functions to make sure the reference object loaded () 2024-12-19 14:10:08 +08:00
cron Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
doctor Move team related functions to service layer () 2024-11-27 21:12:26 +00:00
externalaccount allow synchronizing user status from OAuth2 login providers () 2024-07-16 20:33:16 +02:00
feed Refactor "string truncate" () 2024-12-26 11:56:03 +08:00
forms Move some errors to their own sub packages () 2024-12-20 18:05:29 +00:00
gitdiff Refactor pprof labels and process desc () 2024-12-20 12:17:14 +08:00
indexer Update issue indexer after merging a PR () 2024-05-08 14:45:15 +00:00
issue Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` () 2024-12-25 07:38:30 +00:00
lfs Fix LFS route mock, realm, middleware names () 2024-11-13 16:58:09 +08:00
mailer Support for email addresses containing uppercase characters when activating user account () 2024-12-27 19:16:23 +08:00
markup Refactor request context () 2024-12-24 11:43:57 +08:00
migrations Refactor "string truncate" () 2024-12-26 11:56:03 +08:00
mirror Refactor pprof labels and process desc () 2024-12-20 12:17:14 +08:00
notify Add new event commit status creation and webhook implementation () 2024-11-07 06:41:49 +00:00
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs () 2024-11-26 21:55:06 +00:00
org Move some errors to their own sub packages () 2024-12-20 18:05:29 +00:00
packages Fix Arch package metadata introduced incorrect field () 2024-12-18 15:25:05 +08:00
projects Add issue comment when moving issues from one column to another of the project () 2024-08-09 01:29:02 +00:00
pull Fix Agit pull request permission check () 2024-12-27 18:17:01 +00:00
release Refactor "string truncate" () 2024-12-26 11:56:03 +08:00
repository Clarify path param naming () 2024-12-24 13:47:45 +00:00
secrets
task Fix "force private" logic () 2024-05-20 00:56:45 +00:00
uinotification
user Move some errors to their own sub packages () 2024-12-20 18:05:29 +00:00
webhook Add more load functions to make sure the reference object loaded () 2024-12-19 14:10:08 +08:00
webtheme Initial support for colorblindness-friendly themes () 2024-04-24 00:18:41 +08:00
wiki Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances () 2024-09-06 10:12:41 +00:00