1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/routers/api/v1
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
..
admin Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
convert Fix create team, update team missing units (#5188) 2018-11-10 14:45:32 -05:00
misc Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
org Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
repo Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
swagger Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
user Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
api.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00