Returns a truthy or falsey value indicating whether or not the authenticated user is allowed to perform the specified action on the specified model
Returns a truthy or falsey value indicating whether or not the authenticated user is allowed to perform the specified action on the specified model
(authorize model action user)
Raises an error if the current user does not have permission to perform the specified function.
This function returns the model so that it can be threaded together with other left-threadable operations
Raises an error if the current user does not have permission to perform the specified function. This function returns the model so that it can be threaded together with other left-threadable operations
Returns a criteria structure limiting the scope of a query to that to which the specified user has access.
Returns a criteria structure limiting the scope of a query to that to which the specified user has access.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close