F
Filament9mo ago
Dwayne

Is it possible to have multiple tenant instances in one panel?

Hello! We currently have a SaaS application developed in Laravel. We want to migrate this to Filament (v3). We have just one question: is it possible to create tenancy for organizations and teams? So, not only teams, but organizations should be at a higher level, and teams should be associated with an organization. It should also be possible for some users to not choose any team at all (admins). They should be able to access all data without the "where team_id = X" restrictions, only the "where organisation_id = X".
No description
1 Reply
Jon Mason
Jon Mason8mo ago
This is absolutely possible, but not out of the box. There is a plugin for "companies" that I haven't really looked into too much. The application I'm currently working on has somewhat similar features to what you're describing. I have teams, teams have locations, admins have access to all locations. People and locations are concepts within a team. A lot of this isn't filament specific. For example, implenting the admin functionality I've done using middleware, nothing Filmant-y about it. Hope this helps.