© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
2 replies
Hich
multiple resources based on same model
i have a users table with a role field
.
I want to have two resources clients and admins that both use the same table users but with a filter for the role field
.
how do i achieve this
?
Solution
You can use
->modifyQueryUsing()
->modifyQueryUsing()
and apply differently per resource
https://filamentphp.com/docs/3.x/panels/resources/listing-records#customizing-the-table-eloquent-query
Listing records - Panel Builder - Filament
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
same model policy: multiple resources
F
Filament / ❓┊help
2y ago
Using same model for multiple resources
F
Filament / ❓┊help
16mo ago
Multiple resources using same model not working
F
Filament / ❓┊help
12mo ago
Multiple Resources per Model
F
Filament / ❓┊help
2y ago