mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01: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>
71 lines
618 B
YAML
71 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
|