© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to configure a resource to only list the records of the authenticated user? - Filament
F
Filament
•
2y ago
•
4 replies
MZX
How to configure a resource to only list the records of the authenticated user?
Title
Solution
-
>modifyQueryUsing
(function
(Builder
$query
)
{
$query
-
>where
(
'patient
_id
'
, auth
(
)
-
>id
(
)
)
;
Jump to solution
Filament
Join
A powerful open-source UI framework for Laravel • Build and ship apps & admin panels fast with Livewire
20,181
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
How to show a table with only records that belong to the authenticated user?
F
Filament / ❓┊help
3y ago
Show only the records of users with 'user' role in a resource
F
Filament / ❓┊help
3y ago
Showing only their records to the user?
F
Filament / ❓┊help
7mo ago
How to manage only your records (user_id)?
F
Filament / ❓┊help
2y ago