Multi-Tenant App in ff - User Collection

Actions & Logic

Hi, I would like to test that I have an app with the ability to show multiple clients different content.

In other words, a multi-tenant app.

Would this setup be correct? For the differentiation:

Company A = User, Collection X, Collection Y

Company B = User, Collection X, Collection Y

How do I ensure that users are only the contents of the respective company?

Can a user collection be a subcollection of a company collection ?

Company

-> companyName1

โ€”-> User

โ€”-> CollectionX

โ€”-> CollectionY

What have you tried so far?

Try to set User as sub Collection - can not select (User Collection == user) in ff only the Main Collection

Did you check FlutterFlow's Documentation for this topic?
Yes
2 replies