is_scope_allowed

Function is_scope_allowed 

Source
pub fn is_scope_allowed(
    policy: Option<&RunPolicy>,
    id: &str,
    domain: ScopeDomain,
) -> bool
Expand description

Check whether an identifier is allowed by the typed policy for a scope domain.