(parse-fn db fn-str)(parse-fn db fn-str params)(parse-rules db rule)Determine which collections, predicates, and operations this rule applies to. Then fetch all function refs from _rule/fns, and apply to all relevant
Determine which collections, predicates, and operations this rule applies to. Then fetch all function refs from _rule/fns, and apply to all relevant
(permission-map db roles permission-type)(role-permissions db role-ident permission-type)Given a role identity (_id), returns a permission map for the given permission type. Permission types supported are either :query or :transact.
Given a role identity (_id), returns a permission map for the given permission type. Permission types supported are either :query or :transact.
(rules-from-role db role)(rules-from-role db role filter-op-type)Given a role, returns rules associated with it. Optionally can filter by a specific '_rule/ops' type as a keyword, i.e. :all, :query, :transact, :token.
Given a role, returns rules associated with it. Optionally can filter by a specific '_rule/ops' type as a keyword, i.e. :all, :query, :transact, :token.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |