Compare commits

...

1 commit

Author SHA1 Message Date
af4af338e3
feat: activate ash_admin for Accounts and Membershiop domain
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-17 21:18:52 +02:00
2 changed files with 10 additions and 2 deletions

View file

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

View file

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