WIP: Add or update Dashboard ACL

SQL Integration Tests for the guardian class too.
This commit is contained in:
Daniel Lee
2017-06-12 15:49:09 +02:00
parent 3785894b40
commit 97c13b77bf
7 changed files with 236 additions and 13 deletions
+4 -1
View File
@@ -30,7 +30,10 @@ where (
query.Result = make([]int64, 0)
for _, dash := range res {
id, _ := strconv.ParseInt(string(dash["DashboardId"]), 10, 64)
id, err := strconv.ParseInt(string(dash["DashboardId"]), 10, 64)
if err != nil {
return err
}
query.Result = append(query.Result, id)
}