Browse Source

Fixed issue with clearing admin permissions, Fixes #2143

Torkel Ödegaard 10 years ago
parent
commit
3675b3fcaa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/api/dtos/user.go

+ 1 - 1
pkg/api/dtos/user.go

@@ -18,7 +18,7 @@ type AdminUpdateUserPasswordForm struct {
 }
 
 type AdminUpdateUserPermissionsForm struct {
-	IsGrafanaAdmin bool `json:"IsGrafanaAdmin" binding:"Required"`
+	IsGrafanaAdmin bool `json:"IsGrafanaAdmin"`
 }
 
 type AdminUserListItem struct {