mirror of
https://github.com/openai/codex.git
synced 2026-04-28 08:34:54 +00:00
execpolicy2 core integration
fix PR undo keyring store
This commit is contained in:
@@ -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"]),
|
||||
|
||||
Reference in New Issue
Block a user