Skip to main content

check_rules

Function check_rules 

Source
pub(crate) fn check_rules(
    link: &mut ParsedLink,
    who: &CallerFacts,
) -> Result<(), Refusal>
Expand description

G1 and G5: whether this agent may open link. May fill in the caller’s own id where the place takes one and the link left it out, so a place that would show “whoever is selected” shows the caller’s own.