mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-24 05:33:40 +09:00
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>
This commit is contained in:
@@ -81,3 +81,9 @@
|
||||
org_id: 6
|
||||
team_id: 13
|
||||
uid: 28
|
||||
|
||||
-
|
||||
id: 15
|
||||
org_id: 17
|
||||
team_id: 9
|
||||
uid: 29
|
||||
|
||||
Reference in New Issue
Block a user