Function is_allowed

Source
pub fn is_allowed(
    actor: &Actor,
    action: &Action,
    resource: &Resource,
    context: Context,
) -> (bool, Response)
Expand description

Checks if the actor is allowed to do the action on the resource, given the context and based on the default policy set.