basic permissions

This commit is contained in:
BC
2019-01-11 00:10:37 -08:00
parent 7151adbfdf
commit 24b82802a8
5 changed files with 25 additions and 7 deletions

View File

@@ -416,6 +416,7 @@
(defn get-company [context args value]
(println "user " (:id context))
(->graphql
(filter #(can-see-company? (:id context) %)
(d-clients/get-all))))