Liking cljdoc? Tell your friends :D

cerber.impl.permissions


contains-action?clj/s

(contains-action? actions a)
source

contains-domain-action?clj/s

(contains-domain-action? permissions {:keys [domain actions]})
source

contains-exact-permission?clj/s

(contains-exact-permission? permissions p)
source

contains-matching-permission?clj/s

(contains-matching-permission? permissions p)
source

contains-wildcard-permission?clj/s

(contains-wildcard-permission? permissions)
source

decompose-strclj/s

(decompose-str str)
source

make-permissionclj/s

(make-permission p)

Builds a Permission based on colon-separated string, like "user:write".

Permission may be exact one, may have wildcard-action or have both domain and actions wildcarded. In this case a wildcard? is set to true and both fields contain a wildcard symbol "*" as a value.

Builds a `Permission` based on colon-separated string, like "user:write".

Permission may be exact one, may have wildcard-action or have both domain
and actions wildcarded. In this case a `wildcard?` is set to true and both
fields contain a wildcard symbol "*" as a value.
sourceraw docstring

Permissioncljs

source

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

× close