Ash FrameworkAF
Ash Framework3y ago
9 replies
Terris

Modeling Context Multitenancy

The goal is to have a Tenant be identified by a subdomain (I think this is the common usage). I want to use schema/context multitenancy. There is a User resource in the "master" database (master registry?) who are admins that manage tenants. There is another User resource (ideally inheriting from the master User) that represents a user in a tenant. I'm getting back to this thread a month later: https://discord.com/channels/711271361523351632/1098462406109311108/1098614600917852231 in which @Zach Daniel recommended a context-tenanted User resource and an attribute-tenanted Organization resource. Am I missing another resource like Tenant? Otherwise how would attribute-tenancy work for Organization?
Was this page helpful?