0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-28 16:56:26 -05:00
forgejo/routers/api/v1
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
..
activitypub
admin
misc
notify
org Fix bug when a token is given public only 2024-10-11 05:24:23 +03:00
packages
repo security: add permission check to 'delete branch after merge' 2024-10-28 06:04:45 +00:00
settings
shared
swagger
user Fix bug when a token is given public only 2024-10-11 05:24:23 +03:00
utils
api.go Fix bug when a token is given public only 2024-10-11 05:24:23 +03:00