Peet X
Peet X
FFilament
Created by Peet X on 10/6/2023 in #❓┊help
Reuse the same Resources in multiple panels
Hi everyone, I am building two panels; The first panel is for admin use and the second for staff members. In the admin panel I have access to all the data stored in my database, however the staff panel should only display the data related to the authenticated user. What is the best structure to follow as far as this scenario? There are several resources that I'd like to reuse in both panels but I should only filter the data on a admin/staff basis. Any suggestions? Thanks!
10 replies