mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
load execpolicy from codex_home/policy and default to empty policy
This commit is contained in:
@@ -15,6 +15,10 @@ impl Policy {
|
||||
Self { rules_by_program }
|
||||
}
|
||||
|
||||
pub fn empty() -> Self {
|
||||
Self::new(MultiMap::new())
|
||||
}
|
||||
|
||||
pub fn rules(&self) -> &MultiMap<String, RuleRef> {
|
||||
&self.rules_by_program
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user