Liking cljdoc? Tell your friends :D

com.timezynk.useful.cancan


*ability*clj


authorize!clj

(authorize! action object)
(authorize! action object instance)
(authorize! action object instance ability)

authorize-all!clj

(authorize-all! action object instances)
(authorize-all! action object instances ability)

canclj

(can action object)
(can action object pred)
(can action object pred ability)

can?clj

(can? action object)
(can? action object instance)
(can? action object instance ability)

in-scope?clj

(in-scope?)

True if the calling code and the calling thread have been primed for authorization checks, false otherwise.

Priming for authorization involves a series of cancan/can calls within a cancan/with-ability scope.

True if the calling code and the calling thread have been primed for
authorization checks, false otherwise.

Priming for authorization involves a series of cancan/can calls within a
cancan/with-ability scope.
raw docstring

with-abilitycljmacro

(with-ability & body)

wrap-cancanclj

(wrap-cancan handler)

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

× close