Rename Acl to ACL (#52342)

* Rename Acl to ACL

* Fix yaml files

* Add xorm tags and fix test
This commit is contained in:
idafurjes
2022-07-18 15:14:58 +02:00
committed by GitHub
parent 8ff152f98f
commit f5cace8bbd
48 changed files with 397 additions and 395 deletions
@@ -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"`
}
+1 -1
View File
@@ -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