ash v0.1.1 Ash.Authorization.Rule View Source
Link to this section Summary
Link to this section Types
Link to this type
context()
View Sourcecontext() :: %{
:resource => Ash.resource(),
:action => Ash.action(),
:params => Ash.params(),
optional(atom()) => term()
}
Link to this type
kind()
View Sourcekind() :: :forbid_if | :forbid_unless | :approve_if | :approve_unless
Link to this type
precheck_instruction()
View Sourceprecheck_instruction() :: {:precheck, boolean()}
Link to this type
precheck_result()
View Sourceprecheck_result() :: side_load_instruction() | precheck_instruction() | precheck_context()
Link to this type
side_load_instruction()
View Sourceside_load_instruction() :: {:side_load, Ash.side_load()}