Liking cljdoc? Tell your friends :D

framework.rbac.core

Integrates tiny-RBAC library to the xiana flow

Integrates tiny-RBAC library to the xiana flow
raw docstring

initclj

(init config)

Initialize and validates a role-set

Initialize and validates a role-set
sourceraw docstring

interceptorclj

On enter it validates if the resource is restricted, and available at the current state (actual user with a role) If it's not restricted do nothing, if the given user has no rights, responses {:status 403 :body "Forbidden"}. On leave executes restriction function if any.

On enter it validates if the resource is restricted,
and available at the current state (actual user with a role)
If it's not restricted do nothing,
if the given user has no rights, responses {:status 403 :body "Forbidden"}.
On leave executes restriction function if any.
sourceraw docstring

permissionsclj

(permissions state)

Gathers the necessary parameters from xiana state for permission resolution. Returns a set of keywords for data ownership check. The format of returned keywords: ':resource/restriction'

Gathers the necessary parameters from xiana state for permission resolution.
Returns a set of keywords for data ownership check.
The format of returned keywords:
 ':resource/restriction'
sourceraw docstring

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

× close