Spatie Permission on filament Multi-tenancy
I am confused how to implment spatie permission for below multi-tenancy design. I have enabled team feature in spatie .I have below three filament panels:-
1. Admin Panel (only accessed by users who will be responsible for managing the app, sales & marketing app, or handling customer)
2. User Panel (access only by individual customer user free or paid)
3. Company Panel or can say Tenancy Panel (access only by paid customer who took subscription for registering company. )
Every customer who has access to Company panel will also have access to its user panel where they can do personal things. But vice versa is not true. So you can say not all customer users will have company tenant unless they have subscription to create one or they are invited by other company tenant owner to be its member.
Further users who have access to Admin panel, they dont have any other panel.
I have N:N multi-tenancy implemented using filament. I have single users table. I have Breeze package for authentication. In jetstream i found a concept of personal team which was mandatory for all users and got created automatically for all users but i dont have this design.
0 Replies