mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 21:06:08 +01:00
76408d50fb
* org/members: display 2FA state * fix comment typo * lay down UserList bases * add basic test for previous methods * add comment for UserList type * add valid two-fa account * test new UserList methods * optimize MembersIsPublic by side loading info on GetMembers + fix integrations tests * respect fmt rules * use map for data * Optimize GetTwoFaStatus * rewrite by using existing sub func * Optimize IsUserOrgOwner * remove un-used code * tests: cover empty org + fix import order * tests: add ErrTeamNotExist path * tests: fix wrong expected result
72 lines
555 B
YAML
72 lines
555 B
YAML
-
|
|
id: 1
|
|
org_id: 3
|
|
team_id: 1
|
|
uid: 2
|
|
|
|
-
|
|
id: 2
|
|
org_id: 3
|
|
team_id: 2
|
|
uid: 2
|
|
|
|
-
|
|
id: 3
|
|
org_id: 3
|
|
team_id: 2
|
|
uid: 4
|
|
|
|
-
|
|
id: 4
|
|
org_id: 6
|
|
team_id: 3
|
|
uid: 5
|
|
|
|
-
|
|
id: 5
|
|
org_id: 7
|
|
team_id: 4
|
|
uid: 5
|
|
|
|
-
|
|
id: 6
|
|
org_id: 17
|
|
team_id: 5
|
|
uid: 15
|
|
|
|
-
|
|
id: 7
|
|
org_id: 17
|
|
team_id: 5
|
|
uid: 18
|
|
|
|
-
|
|
id: 8
|
|
org_id: 19
|
|
team_id: 6
|
|
uid: 20
|
|
|
|
-
|
|
id: 9
|
|
org_id: 3
|
|
team_id: 7
|
|
uid: 15
|
|
|
|
-
|
|
id: 10
|
|
org_id: 17
|
|
team_id: 8
|
|
uid: 2
|
|
|
|
-
|
|
id: 11
|
|
org_id: 17
|
|
team_id: 9
|
|
uid: 20
|
|
|
|
-
|
|
id: 12
|
|
org_id: 25
|
|
team_id: 10
|
|
uid: 24
|