summaryrefslogtreecommitdiffstats
path: root/models/fixtures/team_repo.yml
Commit message (Collapse)AuthorAgeFilesLines
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-281-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-2/+8
|
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Expand fixtures (#2571)Morlinest2017-09-221-0/+12
| | | | | | | | | | * Add more repo search tests * Add and fix /api/repo/search integration tests * Add owner to access table for organization repositories * Remove tests
* Unit tests and bug fix for models/orgEthan Koenig2017-01-271-0/+12
|
* Unit tests for models/access.go (#606)Ethan Koenig2017-01-081-0/+5