reimplemented security

This commit is contained in:
Bryce Covert
2019-01-16 21:30:39 -08:00
parent 24b82802a8
commit 583752d740
27 changed files with 52 additions and 61 deletions

View File

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