LaravelFilament
Multi Tenancy Setup Question
Hi All,
I'm trying to set up multi-tenancy where Business is the Tenant, and each Business can have multiple Teams. Users can belong to multiple Teams, and regular members should only see their team's data. Admins can see all teams and manage the business info.
I'm confused because it feels like both Business and Team could be treated as tenants. Should I make Teams the tenant and manage roles per user? Or should I stick with Business as the tenant and handle the Team's information with custom scopes/observers with roles/permissions inside the team - what I am leaning towards... This way I can have 2 panels. The BusinessPanel and TeamPanel?
Thanks for any guidance!
6 replies