1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers
Manush Dodunekov 836f9d86aa Restricted users (#4334): initial implementation
* Add User.IsRestricted & UI to edit it

* Pass user object instead of user id to places where IsRestricted flag matters

* Restricted users: maintain access rows for all referenced repos (incl public)

* Take logged in user & IsRestricted flag into account in org/repo listings, searches and accesses

* Add basic repo access tests for restricted users

Signed-off-by: Manush Dodunekov <manush@stendahls.se>
2020-01-06 23:21:56 +01:00
..
admin Restricted users (#4334): initial implementation 2020-01-06 23:21:56 +01:00
api/v1 Restricted users (#4334): initial implementation 2020-01-06 23:21:56 +01:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Restricted users (#4334): initial implementation 2020-01-06 23:21:56 +01:00
private Add branch protection option to block merge on requested changes. (#9592) 2020-01-03 19:47:09 +02:00
repo Fix create bugs (#9606) 2020-01-04 21:39:14 -05:00
routes Only serve attachments when linked to issue/release and if accessible by user (#9340) 2020-01-05 01:20:08 +02:00
user Restricted users (#4334): initial implementation 2020-01-06 23:21:56 +01: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 Restricted users (#4334): initial implementation 2020-01-06 23:21:56 +01:00
init.go Refactor code indexer (#9313) 2019-12-23 20:31:16 +08:00
install.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00