Skip to content

Commit 3675b3f

Browse files
committed
Fixed issue with clearing admin permissions, Fixes grafana#2143
1 parent 5962bcb commit 3675b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/dtos/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type AdminUpdateUserPasswordForm struct {
1818
}
1919

2020
type AdminUpdateUserPermissionsForm struct {
21-
IsGrafanaAdmin bool `json:"IsGrafanaAdmin" binding:"Required"`
21+
IsGrafanaAdmin bool `json:"IsGrafanaAdmin"`
2222
}
2323

2424
type AdminUserListItem struct {

0 commit comments

Comments
 (0)