Liking cljdoc? Tell your friends :D

fluree.db.permissions


parse-fnclj/s

(parse-fn db fn-str)
(parse-fn db fn-str params)
source

parse-rulesclj/s

(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 
sourceraw docstring

permission-mapclj/s

(permission-map db roles permission-type)
source

role-permission-cacheclj/s

source

role-permissionsclj/s

(role-permissions {:keys [schema] :as 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.
sourceraw docstring

rule-fn-cacheclj/s

source

rules-from-roleclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close