ash v0.1.1 Ash.Authorization.Check behaviour View Source
A behaviour for declaring checks, which can be used to easily construct authorization rules.
Link to this section Summary
Link to this section Types
Link to this section Callbacks
Link to this callback
precheck(arg1, arg2, options)
View Source (optional)precheck( Ash.Authorization.Rule.user(), Ash.Authorization.Rule.context(), options() ) :: Ash.Authorization.Rule.precheck_result() | [Ash.Authorization.Rule.precheck_result()]