MK | Programmer
Install Plugin
Hello, I need help installing plugins in Filament. I would like to install this plugin:
I am following the steps in the #Installation section on the page. I added:
in
AdminPanelProvider
, but nothing changed in my dashboard. It seems that it wasn't installed correctly.8 replies
User select
Hello, I'm starting to use FilamentPHP and would like to ask a question. How do I limit the user select to display only those with the role of realtor? I use this plugin:
https://v2.filamentphp.com/plugins/althinect-spatie-roles-permissions
5 replies
Implementing Role-Based Access Control for Custom Pages on Filament
Hello! How are you? I'm trying to define a specific middleware to access a custom page on Filament. How could I make it so that only, for example, those with the 'teacher' role can access a custom page? Is there a function I can put in page.php?
13 replies
Limiting Filament Table to User-Accessible in resource
Hello! How are you? I have a resource called SchoolResource for my School model. But I need only the schools that the user has permission to view to appear in the resource table. I already have a very simple method that does this, but I don't know how to limit the filament table.
8 replies