File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,18 @@ package sdk
20
20
*/
21
21
22
22
type User struct {
23
- ID uint `json:"id"`
24
- Login string `json:"login"`
25
- Name string `json:"name"`
26
- Email string `json:"email"`
27
- Theme string `json:"theme"`
28
- OrgID uint `json:"orgId"`
29
- Password string `json:"password"`
30
- IsGrafanaAdmin bool `json:"isGrafanaAdmin"`
23
+ ID uint `json:"id"`
24
+ Login string `json:"login"`
25
+ Name string `json:"name"`
26
+ Email string `json:"email"`
27
+ OrgID uint `json:"orgId"`
28
+ Theme string `json:"theme"`
29
+ Password string `json:"password"`
30
+ IsDisabled bool `json:"isDisabled"`
31
+ AuthLabels []string `json:"authLabels"`
32
+ IsGrafanaAdmin bool `json:"isGrafanaAdmin"`
33
+ IsExternal bool `json:"isExternal"`
34
+ IsAdmin bool `json:"isAdmin"` //Different value used for Search Endpoint
31
35
}
32
36
33
37
type UserRole struct {
You can’t perform that action at this time.
0 commit comments