feat: account live view - basic functionality
This commit is contained in:
parent
fd8c853879
commit
df9966bb12
9 changed files with 389 additions and 42 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue