Skip to main content

cmd_explain

Function cmd_explain 

Source
pub async fn cmd_explain(
    client: &VtaClient,
    task_type: String,
    context: Option<String>,
) -> Result<(), Box<dyn Error>>
Expand description

approvals explain <task-uri> — what does this task require, and can it be satisfied?

The question that made this whole surface necessary: a pnm contexts create failed with auth:step_up_required, and the policy the operator was reading was not the policy that fired. This answers from the rules that decide.