(get k-or-ks & [user])
Gets a configuration key or a collection of configuration keys.
user
will be used for checking the roles when the configuration key has them defined.
Gets a configuration key or a collection of configuration keys. `user` will be used for checking the roles when the configuration key has them defined.
(register-key! k & [{:keys [allowed-user-roles]}])
Registers a configuration key.
Only needed if you want to define allowed-user-roles
, which makes the given
key private except for the given roles.
Registers a configuration key. Only needed if you want to define `allowed-user-roles`, which makes the given key private except for the given roles.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close