© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
Proculair B.V.

Tenancy: resource of models belonging to multiple tenants

Hi,

In a multi-tenancy setup a user can belong to multiple tenants. Each tenant must be able to edit users belonging to that tenant.
How do I scope this in the UserResouce?
Solution
you can Customizing the table Eloquent query:

https://filamentphp.com/docs/3.x/panels/resources/listing-records#customizing-the-table-eloquent-query
Listing records - Panel Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Models without Tenancy
FilamentFFilament / ❓┊help
2mo ago
Tabs in Resource with Multiple Models
FilamentFFilament / ❓┊help
4mo ago
Can multiple users share the same tenants in multi-tenancy?
FilamentFFilament / ❓┊help
2y ago
How to separate a resource from Tenants
FilamentFFilament / ❓┊help
2y ago