Tenancy: resource of models belonging to multiple tenants

Hi, In a multi-tenancy setup a user can belong to multiple tenants. Each tenant must be able to edit users belonging to that tenant. How do I scope this in the UserResouce?
4 Replies
Proculair B.V.
Proculair B.V.OP15mo ago
Ty that will work
Helge Sverre
Helge Sverre15mo ago
Alternatively you can change protected static ?string $tenantOwnershipRelationshipName = "teams"; On the UserResource
Proculair B.V.
Proculair B.V.OP15mo ago
Yeah :D, I ended up doing that

Did you find this page helpful?