Skip to main content

is_readable

Function is_readable 

Source
pub fn is_readable(scope: &ReadScope, owner: &OwnerAudience) -> bool
Expand description

Pure, offline-testable: the whole authorization rule, with no I/O in it. ReadScope::All is the only branch that passes Unknown – every other combination denies it unconditionally.