1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00
forgejo/routers
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 Allow admin toggle forcing a password change for newly created users (#4563) 2018-09-13 12:34:36 -04:00
api/v1 Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Fixed bug where team with admin privelege type doesn't get any unit attached to the team (#4719) 2018-08-21 13:02:32 -04:00
private 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
routes Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08: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
home.go feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
init.go Store OAuth2 session data in database (#3660) 2018-04-29 09:09:24 +03:00
install.go Remove traces of embedded TiDB (#4906) 2018-09-11 10:42:40 -04:00
metrics.go Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00