berrypod/lib/berrypod_web/oban_resolver.ex
jamey dd4aa9ffaa
All checks were successful
deploy / deploy (push) Successful in 3m36s
add Oban Web dashboard at /admin/oban
Bump oban to 2.19+, add oban_web for real-time job monitoring.
Mounted behind admin auth with sidebar link under "Jobs".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 07:44:06 +00:00

10 lines
198 B
Elixir

defmodule BerrypodWeb.ObanResolver do
@behaviour Oban.Web.Resolver
@impl true
def resolve_user(conn), do: conn.assigns[:current_scope]
@impl true
def resolve_access(_user), do: :all
end