Skip to main content

check_tool_access

Function check_tool_access 

Source
pub fn check_tool_access(tool_name: &str) -> PolicyCheckResult
Expand description

Check whether tool_name is allowed by the active policy pack, recording an audit entry on denial (same APIs as super::role_guard).