Skip to main content

Required Interfaces

The User model must implement three interfaces for Filament multi-tenancy:

Required Methods

1. getTenants()

Returns all teams the user can access:

2. canAccessTenant()

Checks if user can access a specific team:

3. getDefaultTenant()

Returns the default team for the user:

4. canAccessPanel()

Controls panel access:

Relationships

Current Team

Teams (Member of)

Owned Teams

Complete Example