mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-08-24 00:21:48 +02:00
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
54 lines
506 B
YAML
54 lines
506 B
YAML
-
|
|
id: 1
|
|
repo_id: 3
|
|
user_id: 2
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 2
|
|
repo_id: 4
|
|
user_id: 4
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 3
|
|
repo_id: 40
|
|
user_id: 4
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 4
|
|
repo_id: 4
|
|
user_id: 29
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 5
|
|
repo_id: 21
|
|
user_id: 15
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 6
|
|
repo_id: 21
|
|
user_id: 18
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 7
|
|
repo_id: 22
|
|
user_id: 15
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 8
|
|
repo_id: 22
|
|
user_id: 18
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 9
|
|
repo_id: 60
|
|
user_id: 38
|
|
mode: 2 # write
|