General-purpose authorization predicate factories.
General-purpose authorization predicate factories.
(module-active module)
True if module
is active for the signed-in user, false otherwise
True if `module` is active for the signed-in user, false otherwise
True if the signed-in user and instance
belong to the same company,
false otherwise.
True if the signed-in user and `instance` belong to the same company, false otherwise.
(same-id f)
(same-id fa fb)
True if fa
applied to the signed-in user and fb
applied to instance
result in the same ID, false otherwise.
True if `fa` applied to the signed-in user and `fb` applied to `instance` result in the same ID, false otherwise.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close