Skip to main content

should_deny

Function should_deny 

Source
pub fn should_deny(cmd: &str, tokens: &[Token]) -> bool
Expand description

Whether cmd’s already-allowed verdict must be overridden to Denied because one of its path arguments reads/writes a sensitive locus. Returns false for commands in no gate.