0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00
forgejo/services
Gusted 618eb8e72a security: add permission check to 'delete branch after merge'
- Add a permission check that the doer has write permissions to the head
repository if the the 'delete branch after merge' is enabled when
merging a pull request.
- Unify the checks in the web and API router to `DeleteBranchAfterMerge`.
- Added integration tests.

(cherry picked from commit 266e0b2ce9)
2024-10-28 06:04:45 +00:00
..
actions Update scheduled tasks even if changes are pushed by "ActionsUser" (#32246) 2024-10-22 07:28:30 +02:00
agit
asymkey
attachment
auth
automerge
context fix: correct documentation for non 200 responses in swagger 2024-10-15 20:05:40 +00:00
contexttest
convert Fix /repos/{owner}/{repo}/pulls/{index}/files endpoint not populating previous_filename (#32017) 2024-09-14 17:53:55 +02:00
cron
doctor [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
externalaccount
f3
federation
feed
forgejo
forms
gitdiff
indexer
issue
lfs
mailer
markup
migrations Support allowed hosts for migrations to work with proxy (#32025) 2024-09-14 17:52:54 +02:00
mirror
notify
org
packages fix arch pkg 2024-10-21 05:10:13 +00:00
pull Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-06 11:34:08 +02:00
release Handle invalid target when creating releases using API (#31841) 2024-09-14 18:45:18 +02:00
remote
repository security: add permission check to 'delete branch after merge' 2024-10-28 06:04:45 +00:00
secrets
task
uinotification
user
webhook fix: improve discord webhook api conformance 2024-10-09 16:07:34 +00:00
wiki