Rename Acl to ACL (#52342)
* Rename Acl to ACL * Fix yaml files * Add xorm tags and fix test
This commit is contained in:
+3
-3
@@ -3,12 +3,12 @@ package dtos
|
||||
import "github.com/grafana/grafana/pkg/models"
|
||||
|
||||
// swagger:model
|
||||
type UpdateDashboardAclCommand struct {
|
||||
Items []DashboardAclUpdateItem `json:"items"`
|
||||
type UpdateDashboardACLCommand struct {
|
||||
Items []DashboardACLUpdateItem `json:"items"`
|
||||
}
|
||||
|
||||
// swagger:model
|
||||
type DashboardAclUpdateItem struct {
|
||||
type DashboardACLUpdateItem struct {
|
||||
UserID int64 `json:"userId"`
|
||||
TeamID int64 `json:"teamId"`
|
||||
Role *models.RoleType `json:"role,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user