Liking cljdoc? Tell your friends :D
All platforms.

fluree.db.auth


rolesclj/s

(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.
raw docstring

root-role?clj/s

(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.
raw docstring

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

× close