Skip to main content

controller_lineage

Function controller_lineage 

Source
pub fn controller_lineage(
    document: &PrincipalDocument,
    controller_id: &AgentId,
) -> BTreeSet<AgentId>
Expand description

The lineage of a controller (Section 5.1): its own ID plus, transitively, every record it supersedes. A restricted controller owns a credential whose owner_controller is in its lineage.