execpolicy2 core integration

fix PR

undo keyring store
This commit is contained in:
kevin zhao
2025-11-17 13:58:06 -08:00
parent 2b7378ac77
commit 3aa9c0886f
17 changed files with 499 additions and 42 deletions

View File

@@ -296,7 +296,7 @@ fn strictest_decision_wins_across_matches() {
let policy_src = r#"
prefix_rule(
pattern = ["git"],
decision = "prompt",
decision = "allow",
)
prefix_rule(
pattern = ["git", "commit"],
@@ -316,7 +316,7 @@ prefix_rule(
matched_rules: vec![
RuleMatch::PrefixRuleMatch {
matched_prefix: tokens(&["git"]),
decision: Decision::Prompt,
decision: Decision::Allow,
},
RuleMatch::PrefixRuleMatch {
matched_prefix: tokens(&["git", "commit"]),