expose org id to frontend, Closes #1907

This commit is contained in:
Torkel Ödegaard
2015-04-29 09:26:12 +02:00
parent 8a986ec340
commit e7c43bf614
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -21,8 +21,9 @@ type CurrentUser struct {
Email string `json:"email"`
Name string `json:"name"`
LightTheme bool `json:"lightTheme"`
OrgRole m.RoleType `json:"orgRole"`
OrgId int64 `json:"orgId"`
OrgName string `json:"orgName"`
OrgRole m.RoleType `json:"orgRole"`
IsGrafanaAdmin bool `json:"isGrafanaAdmin"`
GravatarUrl string `json:"gravatarUrl"`
}