ash_policy_authorizer v0.7.0 AshPolicyAuthorizer.Checker View Source

Determines if a set of authorization requests can be met or not.

To read more about boolean satisfiability, see this page: https://en.wikipedia.org/wiki/Boolean_satisfiability_problem. At the end of the day, however, it is not necessary to understand exactly how Ash takes your authorization requirements and determines if a request is allowed. The important thing to understand is that Ash may or may not run any/all of your authorization rules as they may be deemed unnecessary. As such, authorization checks should have no side effects. Ideally, the checks built-in to ash should cover the bulk of your needs.

Link to this section Summary

Link to this section Functions

Link to this function

find_real_scenarios(scenarios, facts)

View Source
Link to this function

strict_check_facts(authorizer)

View Source
Link to this function

strict_check_scenarios(authorizer)

View Source