feat: account live view - basic functionality

This commit is contained in:
Moritz 2025-07-17 22:07:44 +02:00 committed by moritz
parent fd8c853879
commit df9966bb12
9 changed files with 389 additions and 42 deletions

View file

@ -63,6 +63,14 @@ defmodule Mv.Accounts.User do
actions do
defaults [:read, :create, :destroy, :update]
create :create_user do
accept [:email]
end
update :update_user do
accept [:email]
end
read :get_by_subject do
description "Get a user by the subject claim in a JWT"
argument :subject, :string, allow_nil?: false