forgejo/routers
Gusted 5488ec7d96
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)

Conflicts:
	tests/integration/pull_merge_test.go
  trivial context conflict
2024-10-28 06:32:10 +01:00
..
api security: add permission check to 'delete branch after merge' 2024-10-28 06:32:10 +01:00
common Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
install Always load or generate oauth2 jwt secret (#30942) 2024-05-24 15:15:07 +02:00
private enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web security: add permission check to 'delete branch after merge' 2024-10-28 06:32:10 +01:00
init.go s/Gitea/Forgejo in various log messages and comments 2024-04-22 14:41:17 +00:00