gitea/routers/api/v1/repo
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314)
* 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
2018-11-28 19:26:14 +08:00
..
branch.go Fixes repo branch endpoint summary (#4893) 2018-09-09 11:36:08 +08:00
collaborators.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
file.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
fork.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
git_ref.go Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
hook.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
issue_comment.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
issue_label.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue_tracked_time.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
issue.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
key.go Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
label.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go show only opened milestones on issues page milestone filter (#5051) 2018-11-26 16:45:42 +08:00
pull.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
release_attachment.go Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
release.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
repo.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
star.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
status.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00
subscriber.go refactor: import order. (#3736) 2018-03-29 21:32:40 +08:00