Filter Filament Project Resources Based on Authenticated User's Team
I'm working on a Laravel application with a Filament admin panel. I need to filter the projects displayed in the admin panel so that only projects related to the authenticated user's team are shown. Here's a summary of my setup and what I've tried so far:
Database Schema:
User: belongs to a Team
Team: has many Users and Projects
Project: belongs to a Team
Could someone guide me on the correct approach ?
Thank you!
Database Schema:
User: belongs to a Team
Team: has many Users and Projects
Project: belongs to a Team
Could someone guide me on the correct approach ?
Thank you!
