Setting up FlutterFlow and Firebase to allow Multi Tennant use where a user is a member of more than 1 organisation

Actions & Logic

I am setting up a task management app with the following structure

  • Users (Collection)

  • Organisations (Collection)

    • Tasks (Sub-Collection)

    • Categories (Sub-Collection)

The user as the ability to be in 1 or more 'Organisations' (this is captured in the User collection as a list of document references)

Once a user has logged in they should be able to see all tasks no matter what 'Organisation' they are a part of.

What have you tried so far?

When i have implemented the above and try to create a filter to return all the tasks i need to pass a variable, it will not accept a list?

(Note: this is from a second test app that i was working on and i renamed Tasks to be Transactions but the principal is the same)

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