View Source AshOban.Checks.AshObanInteraction (ash_oban v0.2.3)

This check is true if the context private.ash_oban? is set to true.

This context will only ever be set in code that is called internally by ash_oban, allowing you to create a bypass in your policies on your user/user_token resources.

policies do
  bypass AshObanInteraction do
    authorize_if always()
  end
end

Summary

Functions

Link to this function

requires_original_data?(_, _)

View Source

Callback implementation for Ash.Policy.Check.requires_original_data?/2.

Link to this function

strict_check(actor, context, opts)

View Source

Callback implementation for Ash.Policy.Check.strict_check/3.

Callback implementation for Ash.Policy.Check.type/0.