Skip to main content

authored_source_requirements

Function authored_source_requirements 

Source
pub fn authored_source_requirements(
    scope: &CollaborationScope,
    anchor: &CollaborationAnchor,
    tags: &[AnnotationTag],
) -> Result<Vec<AuthoredSourceRequirement>, CollaborationCodecError>
Expand description

Normalize the source dependencies of a signed anchor and its tags.

Repeated references to a file share a single predicate. ViewedThread targets retain their original source predicate; movement/deletion of the derived current target cannot silently remove readable history. Named and pinned bindings add their explicit Thread/revision, independently of that original.

This function covers source references only. Record audience, extracted discussion visibility, and other entity authorization remain separate gates.