mitgliederverwaltung/lib/accounts/accounts.ex
carla e0f26c6164
Some checks are pending
continuous-integration/drone/push Build is pending
doc: added comments and updated to latest ashautentication version and required changes
2025-06-19 15:34:24 +02:00

18 lines
437 B
Elixir

defmodule Mv.Accounts do
@moduledoc """
AshAuthentication specific domain to handle Authentication for users.
"""
use Ash.Domain,
extensions: [AshPhoenix]
resources do
resource Mv.Accounts.User do
define :create_user, action: :create
define :list_users, action: :read
define :update_user, action: :update
define :destroy_user, action: :destroy
end
resource Mv.Accounts.Token
end
end