Function check_role_allowed

Source
fn check_role_allowed(
    name: &str,
    allowed_roles: AllowedRoles,
) -> Result<(), AuthError>