F
Filament14mo ago
Gehts

display of the contributions of the logged in user

Hello all, I wanted to ask how I can make it so that for a given "resource" only the posts created by the logged in user are displayed?
1 Reply
Yasser
Yasser14mo ago
@Gehts That is handled by Laravel Policies -> https://laravel.com/docs/10.x/authorization#creating-policies Filament just respects the policies
For authorization, Filament will observe any model policies that are registered in your app.
For authorization, Filament will observe any model policies that are registered in your app.
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Want results from more Discord servers?
Add your server