Skip to main content

authz_check

Function authz_check 

Source
pub fn authz_check(
    subject: &str,
    relation: &str,
    object: &str,
) -> Result<String, String>
Expand description

Whether subject has relation on object, with the path that allowed it: {"allowed":true,"path":[…]}.