Liking cljdoc? Tell your friends :D
Clojure only.

bluegenes-tool-store.auth


check-privclj

(check-priv handler req)

Makes a request to the InterMine server to verify that the user in req is superuser on the mine which this BlueGenes instance belongs to. Only if this is true, will the handler function be run.

Makes a request to the InterMine server to verify that the user in `req` is
superuser on the mine which this BlueGenes instance belongs to. Only if this
is true, will the `handler` function be run.
sourceraw docstring

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

× close