xdmp:can-grant-roles( $roles as xs:string* ) as empty-sequence()
Tests whether a user can grant or revoke a set of roles. Raises an error if the session user can not.
Parameters | |
---|---|
roles | A set of role names |
xdmp:can-grant-roles(("development", "qa"))