Rename Acl to ACL (#52342)
* Rename Acl to ACL * Fix yaml files * Add xorm tags and fix test
This commit is contained in:
@@ -73,7 +73,7 @@ type GetDashboardPermissionsParams struct {
|
||||
type PostDashboardPermissionsParams struct {
|
||||
// in:body
|
||||
// required:true
|
||||
Body dtos.UpdateDashboardAclCommand
|
||||
Body dtos.UpdateDashboardACLCommand
|
||||
// in:path
|
||||
DashboardID int64
|
||||
}
|
||||
@@ -82,7 +82,7 @@ type PostDashboardPermissionsParams struct {
|
||||
type PostDashboardPermissionsWithUIDParams struct {
|
||||
// in:body
|
||||
// required:true
|
||||
Body dtos.UpdateDashboardAclCommand
|
||||
Body dtos.UpdateDashboardACLCommand
|
||||
// in:path
|
||||
// required:true
|
||||
// description: The dashboard UID
|
||||
@@ -92,5 +92,5 @@ type PostDashboardPermissionsWithUIDParams struct {
|
||||
// swagger:response getDashboardPermissionsResponse
|
||||
type GetDashboardPermissionsResponse struct {
|
||||
// in: body
|
||||
Body []*models.DashboardAclInfoDTO `json:"body"`
|
||||
Body []*models.DashboardACLInfoDTO `json:"body"`
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ type PostDashboardPermissionsParam struct {
|
||||
FolderUID string `json:"folder_uid"`
|
||||
// in:body
|
||||
// required:true
|
||||
Body dtos.UpdateDashboardAclCommand
|
||||
Body dtos.UpdateDashboardACLCommand
|
||||
}
|
||||
|
||||
// swagger:parameters getFolderByID
|
||||
|
||||
Reference in New Issue
Block a user