feat: activate ash_admin for Accounts and Membershiop domain #108

Merged
moritz merged 1 commit from feature/ash_admin into main 2025-07-24 13:03:49 +02:00
2 changed files with 10 additions and 2 deletions
Showing only changes of commit 5287a20b98 - Show all commits

View file

@ -3,7 +3,11 @@ defmodule Mv.Accounts do
AshAuthentication specific domain to handle Authentication for users.
"""
use Ash.Domain,
extensions: [AshPhoenix]
extensions: [AshAdmin.Domain, AshPhoenix]
admin do
show? true
end
resources do
resource Mv.Accounts.User do

View file

@ -1,6 +1,10 @@
defmodule Mv.Membership do
use Ash.Domain,
extensions: [AshPhoenix]
extensions: [AshAdmin.Domain, AshPhoenix]
admin do
show? true
end
resources do
resource Mv.Membership.Member do