Browse Source

fix: update user permissions validation was not working properly, fixes #8977

Torkel Ödegaard 8 years ago
parent
commit
1372d2e517
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/api/dtos/user.go

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

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