(roles db auth_id)
Given an _auth identity, returns associated roles. First returns roles directly associated with auth ident. If none exist, attempts to retrieve default roles for associated user, if they exist.
Given an _auth identity, returns associated roles. First returns roles directly associated with auth ident. If none exist, attempts to retrieve default roles for associated user, if they exist.
(root-role? db auth_id)
Given an _auth identity, returns roles directly associated with the auth ident. If none found, attempts to retrieve default roles for an associated user.
Given an _auth identity, returns roles directly associated with the auth ident. If none found, attempts to retrieve default roles for an associated user.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close