You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 years ago
..
admin Allow admin toggle forcing a password change for newly created users (#4563) 6 years ago
api/v1 Restrict permission check on repositories and fix some problems (#5314) 6 years ago
dev Make time diff translatable (#2057) 7 years ago
org Fixed bug where team with admin privelege type doesn't get any unit attached to the team (#4719) 6 years ago
private Restrict permission check on repositories and fix some problems (#5314) 6 years ago
repo Restrict permission check on repositories and fix some problems (#5314) 6 years ago
routes Restrict permission check on repositories and fix some problems (#5314) 6 years ago
user Restrict permission check on repositories and fix some problems (#5314) 6 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go feat(repo): support search repository by topic name (#4505) 6 years ago
init.go Store OAuth2 session data in database (#3660) 6 years ago
install.go Remove traces of embedded TiDB (#4906) 6 years ago
metrics.go Prometheus endpoint (#5256) 6 years ago
swagger_json.go Swagger.v1.json template (#3572) 6 years ago