mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 18:52:33 +08:00
dashboard folders acl work
This commit is contained in:
@ -74,16 +74,21 @@ type AddOrUpdateDashboardPermissionCommand struct {
|
||||
|
||||
type RemoveDashboardPermissionCommand struct {
|
||||
DashboardId int64 `json:"dashboardId" binding:"Required"`
|
||||
OrgId int64 `json:"-"`
|
||||
UserId int64 `json:"userId"`
|
||||
UserGroupId int64 `json:"userGroupId"`
|
||||
|
||||
OrgId int64 `json:"-"`
|
||||
}
|
||||
|
||||
//
|
||||
// QUERIES
|
||||
//
|
||||
|
||||
type GetDashboardPermissionsQuery struct {
|
||||
DashboardId int64 `json:"dashboardId" binding:"Required"`
|
||||
DashboardId int64
|
||||
Result []*DashboardAclInfoDTO
|
||||
}
|
||||
|
||||
type GetDashboardAclQuery struct {
|
||||
DashboardId int64
|
||||
Result []*DashboardAcl
|
||||
}
|
||||
|
Reference in New Issue
Block a user