Skip to main content

install_mac_dispatch_pep

Function install_mac_dispatch_pep 

Source
pub fn install_mac_dispatch_pep(pep: Arc<dyn MacDispatchPep>)
Expand description

Install the node’s MAC dispatch PEP.

Production calls this exactly once at startup with a DefaultMacDispatchPep (or a production resolver). Until this is called, global_mac_dispatch_pep returns None and process_request denies.

Backed by parking_lot::RwLock (no poisoning). Production callers SHOULD install exactly once; the security boundary is the PEP trait itself (a PEP that denies is correct regardless of how many times it has been set).

§Activation gate (epic #1267)

Identity-aware subject selection remains a deliberate operator choice, but mediation is never off. Before installation the structural sentinel denies; after installation the production PEP remains mandatory.