ash_policy_authorizer v0.1.1 AshPolicyAuthorizer behaviour View Source

Authorization in Ash is done via declaring rules for actions, and in the case of stateful actions, via declaring authoriation_steps on attributes and relationships.

TODO: consider this coverage metric when building the test framework

https://en.wikipedia.org/wiki/Modified_condition/decision_coverage

Link to this section Summary

Link to this section Types

Specs

prepare_instruction() :: side_load()

Specs

request() :: Ash.Engine.Request.t()

Specs

side_load() :: {:side_load, Keyword.t()}

Link to this section Functions

Link to this section Callbacks

Specs

ash_policies() :: [AshPolicyAuthorizer.Policy.t()]
Link to this callback

ash_policy_authorizer_type()

View Source

Specs

ash_policy_authorizer_type() :: :strict | :filter | :runtime