Skip to main content

parse_expression

Function parse_expression 

Source
pub fn parse_expression(text: &str) -> Result<Vec<Term>, AuthzError>
Expand description

Parse a relation definition: terms separated by |. A bare name is a type when the schema has such a type, else a relation on the same object (resolved by Schema::relation); here it comes back as Direct.