From 1372d2e517c9d9f7f0d9ccda263573f5a807a007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 3 Aug 2017 08:56:34 +0200 Subject: [PATCH] fix: update user permissions validation was not working properly, fixes #8977 --- pkg/api/dtos/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/dtos/user.go b/pkg/api/dtos/user.go index 2ffe9d69236..93d3074f66f 100644 --- a/pkg/api/dtos/user.go +++ b/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 {