I’m using strapi to for a SaaS product to help gyms manage their members, trainers and content.
I’m having a really hard time figuring out how to provide a multi-tenant solution, given that this core functionality is not implemented on the strapi side yet see this issue
I’m currently thinking of having a content collection called Organization, with a relation to an Admin User (User type, admin role). Then, in the controllers, filtering out all the data that does not pertain to that Org.
There are many issues with this approach, for example the inefficiency of querying the db and then programatically filtering out most of the query result.
Could you please provide some guidance as to the best way to achieve this given the current strapi release?