mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-31 08:37:35 -04:00
0b4c166e8a
- Currently the function takes in the `UserID` option, but isn't being used within the SQL query. This patch fixes that by checking that only teams are being returned that the user belongs to. Fix #20829 Co-authored-by: delvh <dev.lh@web.de>
72 lines
618 B
YAML
72 lines
618 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
|
|
|
|
-
|
|
id: 12
|
|
uid: 2
|
|
org_id: 17
|
|
is_public: true
|