fn resolve_permissions( s: &mut Settings, notes: &mut Vec<Note>, cands: &dyn Fn(&str) -> Vec<(Source, String)>, )