Ash FrameworkAF
Ash Framework6mo ago
5 replies
Taehwan

Question on Multitenancy.

I read this doc But few things are not still clear for me.
I am trying to add Attribute Multitenancy
1. Should I add multitenancy macro and belongs to :organization to all resources?
2. I noticed we have functions like Ash.Query.set_tenant for read and Ash.Changeset.set_tenant for create. So I don't need to add something like change manage_relationship(:organization_id, :organization, type: :append) for create action?
Was this page helpful?