0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/routers
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
..
api security: add permission check to 'delete branch after merge' 2024-10-28 06:04:45 +00:00
common [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
install [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
private feat(quota): Quota enforcement 2024-08-02 11:10:34 +02:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web security: add permission check to 'delete branch after merge' 2024-10-28 06:04:45 +00:00
init.go Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00