Compare commits

..

8 commits

Author SHA1 Message Date
a6f9de3eab
fix: formatting
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-23 00:04:03 +02:00
ff9b3bc5f3
fix: update email field given by oidc provider
Some checks failed
continuous-integration/drone/push Build is failing
2025-07-22 23:59:01 +02:00
55943d0640
feat: add user form tests 2025-07-22 23:05:58 +02:00
778700d5c3
feat: add missing translation 2025-07-22 23:05:57 +02:00
80903a48fe
feat: set password for new and for existing user 2025-07-22 23:05:57 +02:00
0cc740b5b6
feat: add user view tests 2025-07-22 23:05:57 +02:00
4846961d7a
feat: use layout from memberlist 2025-07-22 23:05:56 +02:00
d78d416d89
feat: account live view - basic functionality 2025-07-22 23:05:50 +02:00
2 changed files with 10 additions and 2 deletions

View file

@ -7,9 +7,9 @@ defmodule Mv.Accounts do
resources do
resource Mv.Accounts.User do
define :create_user, action: :create
define :create_user, action: :create_user
define :list_users, action: :read
define :update_user, action: :update
define :update_user, action: :update_user
define :destroy_user, action: :destroy
end

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
# Admin action for direct password changes in admin panel
# Uses the official Ash Authentication HashPasswordChange with correct context
update :admin_set_password do