Limited early access is available for production usage; learn how you can apply!
Read more…
Brought to you by @andres.aguiar
Limited early access is available for production usage; learn how you can apply!
Read more…
Brought to you by @andres.aguiar
What are your thoughts, folks? Got any questions regarding the article? Share them in the comments!
Hello @robertino.calcaterra
I want to apply this with multi tenant, how to do so ?
Can I consider each store as a tenant ?
HI Firas,
I think we discussed this in Discord too, but the way we recommend handling multi tenancy is to model that in the model itself, e.g.
type user
type organization
relations
define member : [user]
type resource
relations
define organization : [organization]
define can_access: member from organization
In that way, members can only access resources from their own organization.