mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 17:27:54 +01:00
836f9d86aa
* 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>
66 lines
566 B
YAML
66 lines
566 B
YAML
-
|
|
id: 1
|
|
uid: 2
|
|
org_id: 3
|
|
is_public: true
|
|
|
|
-
|
|
id: 2
|
|
uid: 4
|
|
org_id: 3
|
|
is_public: false
|
|
|
|
-
|
|
id: 3
|
|
uid: 5
|
|
org_id: 6
|
|
is_public: true
|
|
|
|
-
|
|
id: 4
|
|
uid: 5
|
|
org_id: 7
|
|
is_public: false
|
|
|
|
-
|
|
id: 5
|
|
uid: 15
|
|
org_id: 17
|
|
is_public: true
|
|
|
|
-
|
|
id: 6
|
|
uid: 18
|
|
org_id: 17
|
|
is_public: false
|
|
|
|
-
|
|
id: 7
|
|
uid: 20
|
|
org_id: 19
|
|
is_public: true
|
|
|
|
-
|
|
id: 8
|
|
uid: 24
|
|
org_id: 25
|
|
is_public: true
|
|
|
|
-
|
|
id: 9
|
|
uid: 28
|
|
org_id: 3
|
|
is_public: true
|
|
|
|
-
|
|
id: 10
|
|
uid: 28
|
|
org_id: 6
|
|
is_public: true
|
|
|
|
-
|
|
id: 11
|
|
uid: 29
|
|
org_id: 17
|
|
is_public: true
|