fn add_capability_policy(
        &mut self,
        key: CapabilityAllowlistKey,
        allowlist: HashSet<AbsoluteMoniker>,
    ) {
        self.capability_policy.insert(key, allowlist);
    }
/// Add a custom capability security policy to restrict routing of certain caps.
Add a custom capability security policy to restrict routing of certain caps.
Add a custom capability security policy to restrict routing of certain caps .
fn add_capability_policy(
        &mut self,
        key: CapabilityAllowlistKey,
        allowlist: HashSet<AbsoluteMoniker>,
    ) {
        self.capability_policy.insert(key, allowlist);
    }
fn add_capability_policy ( & mut self , key : CapabilityAllowlistKey , allowlist : HashSet < AbsoluteMoniker > , ) { self . capability_policy . insert ( key , allowlist ) ; }
Add a custom capability security policy to restrict routing of certain caps.
Add a custom capability security policy to restrict routing of certain caps .
&mut self
key
CapabilityAllowlistKey
allowlist
HashSet<AbsoluteMoniker>
&mut self
key
CapabilityAllowlistKey
allowlist
HashSet<AbsoluteMoniker>