(cherry picked from commit 5c1a1c8318)
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
This commit is contained in:
co-authored by
Ieva
parent
e09307c078
commit
76ed60064d
@@ -262,9 +262,9 @@ func (p *ResourcePermission) Contains(targetActions []string) bool {
|
||||
}
|
||||
|
||||
type SetResourcePermissionCommand struct {
|
||||
UserID int64 `json:"userID"`
|
||||
TeamID int64 `json:"teamID"`
|
||||
BuiltinRole string `json:"builtinRole"`
|
||||
UserID int64 `json:"userId,omitempty"`
|
||||
TeamID int64 `json:"teamId,omitempty"`
|
||||
BuiltinRole string `json:"builtInRole,omitempty"`
|
||||
Permission string `json:"permission"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user