forgejo/tests
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
..
e2e [v7.0/forgejo] fix(ui): handle out-of-bounds end line in code selection (#4820) 2024-08-05 05:56:37 +00:00
fuzz
gitea-lfs-meta
gitea-repositories-meta tests(integration): add TestPullMergeBranchProtect 2024-06-02 22:05:08 +02:00
integration security: add permission check to 'delete branch after merge' 2024-10-28 06:32:10 +01:00
testdata/data/attachments/a/0
mssql.ini.tmpl
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00