pub trait PolicyEngine: Send + Sync {
// Required method
fn allows(
&self,
ctx: &SecurityContext,
resource: &str,
action: &str,
) -> bool;
}Expand description
Policy Engine - Zero Trust Policy Engine, responsible for evaluating and enforcing policies or rules