basic permissions
This commit is contained in:
@@ -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))))
|
||||
|
||||
Reference in New Issue
Block a user