Liking cljdoc? Tell your friends :D

fluree.db.permissions


parse-fnclj/s

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

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 
raw docstring

permission-mapclj/s

(permission-map db roles permission-type)

role-permission-cacheclj/s


role-permissionsclj/s

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

rule-fn-cacheclj/s


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.
raw docstring

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

× close