0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 11:31:34 +01:00
gitea/models/fixtures/access.yml
Morlinest ddb7f59ef4 Add search mode option to /api/repo/search (#2756)
* Add repo type option to /api/repo/search

* Add tests and fix result of collaborative filter in specific condition

* Fix/optimize search & tests

* Improve integration tests

* Fix lint errors

* Fix unit tests

* Change and improve internal implementation of repo search

* Use NonexistentID

* Make search api more general

* Change mirror and fork search behaviour

* Fix tests & typo in comment
2017-10-27 00:16:13 +03:00

77 lines
No EOL
739 B
YAML

-
id: 1
user_id: 2
repo_id: 3
mode: 2 # write
-
id: 2
user_id: 4
repo_id: 4
mode: 2 # write
-
id: 3
user_id: 4
repo_id: 3
mode: 2 # write
-
id: 4
user_id: 15
repo_id: 22
mode: 2 # write
-
id: 5
user_id: 15
repo_id: 21
mode: 2 # write
-
id: 6
user_id: 15
repo_id: 23
mode: 4 # owner
-
id: 7
user_id: 15
repo_id: 24
mode: 4 # owner
-
id: 8
user_id: 18
repo_id: 23
mode: 4 # owner
-
id: 9
user_id: 18
repo_id: 24
mode: 4 # owner
-
id: 10
user_id: 18
repo_id: 22
mode: 2 # write
-
id: 11
user_id: 18
repo_id: 21
mode: 2 # write
-
id: 12
user_id: 20
repo_id: 27
mode: 4 # owner
-
id: 13
user_id: 20
repo_id: 28
mode: 4 # owner