Function create_authorization_error

Source
fn create_authorization_error(
    user_roles: &[Role],
    action: Option<Action>,
) -> ControllerError
Expand description

Creates a ControllerError for authorization failures with more information in the source error