dashboard folders acl work

This commit is contained in:
Torkel Ödegaard
2017-06-19 11:03:54 -04:00
parent cbbbccf12a
commit b494fd7689
7 changed files with 74 additions and 50 deletions

View File

@ -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
}