forgejo/models/fixtures/access.yml
Zettat123 77c56e29de
Allow non-admin users to delete review requests (#29057)
Fix #14459

The following users can add/remove review requests of a PR
- the poster of the PR
- the owner or collaborators of the repository
- members with read permission on the pull requests unit

(cherry picked from commit c42083a33950be6ee9f822c6d0de3c3a79d1f51b)

Conflicts:
	models/repo/repo_list_test.go
	tests/integration/api_nodeinfo_test.go
	tests/integration/api_repo_test.go
	shared fixture counts
2024-02-26 22:30:27 +01:00

162 lines
1.3 KiB
YAML

-
id: 1
user_id: 2
repo_id: 3
mode: 4
-
id: 2
user_id: 2
repo_id: 5
mode: 4
-
id: 3
user_id: 2
repo_id: 24
mode: 2
-
id: 4
user_id: 2
repo_id: 32
mode: 4
-
id: 5
user_id: 4
repo_id: 3
mode: 2
-
id: 6
user_id: 4
repo_id: 4
mode: 2
-
id: 7
user_id: 4
repo_id: 40
mode: 2
-
id: 8
user_id: 15
repo_id: 21
mode: 2
-
id: 9
user_id: 15
repo_id: 22
mode: 2
-
id: 10
user_id: 15
repo_id: 23
mode: 4
-
id: 11
user_id: 15
repo_id: 24
mode: 4
-
id: 12
user_id: 15
repo_id: 32
mode: 2
-
id: 13
user_id: 18
repo_id: 21
mode: 2
-
id: 14
user_id: 18
repo_id: 22
mode: 2
-
id: 15
user_id: 18
repo_id: 23
mode: 4
-
id: 16
user_id: 18
repo_id: 24
mode: 4
-
id: 17
user_id: 20
repo_id: 24
mode: 1
-
id: 18
user_id: 20
repo_id: 27
mode: 4
-
id: 19
user_id: 20
repo_id: 28
mode: 4
-
id: 20
user_id: 29
repo_id: 4
mode: 2
-
id: 21
user_id: 29
repo_id: 24
mode: 1
-
id: 22
user_id: 31
repo_id: 27
mode: 4
-
id: 23
user_id: 31
repo_id: 28
mode: 4
-
id: 24
user_id: 38
repo_id: 60
mode: 2
-
id: 25
user_id: 38
repo_id: 61
mode: 1
-
id: 26
user_id: 39
repo_id: 61
mode: 1
-
id: 27
user_id: 40
repo_id: 61
mode: 4