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.OP13mo ago
Ty that will work
Helge Sverre
Helge Sverre13mo ago
Alternatively you can change protected static ?string $tenantOwnershipRelationshipName = "teams"; On the UserResource
Proculair B.V.
Proculair B.V.OP13mo ago
Yeah :D, I ended up doing that
Want results from more Discord servers?
Add your server