forgejo/routers
Gusted 266e0b2ce9
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.
2024-10-28 05:48:10 +01:00
..
api security: add permission check to 'delete branch after merge' 2024-10-28 05:48:10 +01:00
common
install
private
utils
web security: add permission check to 'delete branch after merge' 2024-10-28 05:48:10 +01:00
init.go