feat: add role relationship to User resource

Add belongs_to :role relationship to User resource and register
Authorization domain in config.
This commit is contained in:
Moritz 2026-01-06 17:18:33 +01:00
parent 4535551b8d
commit 90c32c2afd
2 changed files with 6 additions and 1 deletions

View file

@ -49,7 +49,7 @@ config :spark,
config :mv,
ecto_repos: [Mv.Repo],
generators: [timestamp_type: :utc_datetime],
ash_domains: [Mv.Membership, Mv.Accounts, Mv.MembershipFees]
ash_domains: [Mv.Membership, Mv.Accounts, Mv.MembershipFees, Mv.Authorization]
# Configures the endpoint
config :mv, MvWeb.Endpoint,