Search
Setup for Free
F
Filament
•
2y ago
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 admin panels & apps fast with Livewire
20,357
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
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
4mo ago
How to manage only your records (user_id)?
F
Filament / ❓┊help
2y ago