mirror of
https://github.com/grafana/grafana.git
synced 2025-01-23 23:13:52 -06:00
fix(http api): throw validation error if missing property in call to /api/admin/users/123/permissions, #7365
This commit is contained in:
parent
a656d01bf5
commit
2f4da15264
@ -31,7 +31,7 @@ type AdminUpdateUserPasswordForm struct {
|
||||
}
|
||||
|
||||
type AdminUpdateUserPermissionsForm struct {
|
||||
IsGrafanaAdmin bool `json:"IsGrafanaAdmin"`
|
||||
IsGrafanaAdmin bool `json:"isGrafanaAdmin" binding:"Required"`
|
||||
}
|
||||
|
||||
type AdminUserListItem struct {
|
||||
|
@ -33,7 +33,7 @@ $yellow: #ECBB13;
|
||||
$pink: #FF4444;
|
||||
$purple: #9933CC;
|
||||
$variable: #32D1DF;
|
||||
$orange: #dF7518;
|
||||
$orange: #eb7b18;
|
||||
|
||||
$brand-primary: $orange;
|
||||
$brand-success: $green;
|
||||
|
Loading…
Reference in New Issue
Block a user