Liking cljdoc? Tell your friends :D
Clojure only.

com.timezynk.cancancan.restriction.common

Factories for general-purpose database query restrictors.

Factories for general-purpose database query restrictors.
raw docstring

company-idclj

(company-id user _ _)

Query restriction for setting :company-id to the ID of the company which the signed-in user belongs to.

Query restriction for setting `:company-id` to the ID of the company which
the signed-in user belongs to.
raw docstring

user-idclj

(user-id user _ _)

Query restriction for setting :user-id to the ID of the signed-in user.

Query restriction for setting `:user-id` to the ID of the signed-in user.
raw docstring

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

× close