WIP: Can remove dashboard permission - sql

This commit is contained in:
Daniel Lee
2017-06-12 15:49:09 +02:00
parent 890ebcbb7b
commit 13314f23ba
3 changed files with 91 additions and 0 deletions
+7
View File
@@ -41,6 +41,13 @@ type AddOrUpdateDashboardPermissionCommand struct {
PermissionType PermissionType `json:"permissionType" binding:"Required"`
}
type RemoveDashboardPermissionCommand struct {
DashboardId int64 `json:"dashboardId" binding:"Required"`
OrgId int64 `json:"-"`
UserId int64 `json:"userId"`
UserGroupId int64 `json:"userGroupId"`
}
//
// QUERIES
//