Skip to main content

has_delegated_authority

Function has_delegated_authority 

Source
pub fn has_delegated_authority(
    edges: &[NQuin],
    root_authority: u64,
    agent: u64,
) -> bool
Expand description

Does agent hold authority delegated (transitively) from root_authority? Auth(α,p) ∧ Deleg*(α,…,β) → Auth(β,p).