pub fn fix_for(
command: &str,
approved: &dyn Fn(&str) -> bool,
approved_by_default: bool,
) -> FixExpand description
The fix for one refused command (a segment of a chain, or the whole command).
approved answers “would this command be approved?” the way the caller’s verdict does, at the
caller’s level. It is asked again with a hypothetical grant in place, and with the default level.