pub async fn require_all(rules: Vec<AuthRuleFn>) -> Result<(), Error>Expand description
Require that all provided rules pass for the current caller.
Returns the first failing rule error, or AuthError::NoRulesDefined if
rules is empty.
pub async fn require_all(rules: Vec<AuthRuleFn>) -> Result<(), Error>Require that all provided rules pass for the current caller.
Returns the first failing rule error, or AuthError::NoRulesDefined if
rules is empty.