(authorize! action object)
(authorize! action object instance)
(authorize! action object instance ability)
(authorize-all! action object instances)
(authorize-all! action object instances ability)
(can action object)
(can action object pred)
(can action object pred ability)
(can? action object)
(can? action object instance)
(can? action object instance ability)
(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.
(with-ability & body)
(wrap-cancan handler)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close