Liking cljdoc? Tell your friends :D

fluree.db.permissions-validate


allow-flake?clj/s

(allow-flake? db flake)
(allow-flake? db flake permissions)

Returns either: (a) exception if there was an error (b) truthy value if flake is allowed (c) falsey value if flake not allowed

Returns either:
(a) exception if there was an error
(b) truthy value if flake is allowed
(c) falsey value if flake not allowed
raw docstring

allow-flakes?clj/s

(allow-flakes? db flakes)

Like allow-flake, but filters a sequence of flakes to only allow those that are whose permissions do not return 'false'.

Like allow-flake, but filters a sequence of flakes to only allow those
that are whose permissions do not return 'false'.
raw docstring

check-explicit-functionsclj/s

(check-explicit-functions flake db permissions fns-paths)

no-filter?clj/s

(no-filter? permissions s1 s2 p1 p2)

Quick check if we can skip filtering.

Quick check if we can skip filtering.
raw docstring

process-functionsclj/s

(process-functions flake functions db permissions)

root-permission?clj/s

(root-permission? permissions)

Returns true for root db permissions.

Returns true for root db permissions.
raw docstring

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

× close