FilamentF
Filament14mo ago
toeknee

Using same model for multiple resources

So just add a canAccess = auth()->user()->hasRole('student') or whatever you use for your permissions?
Was this page helpful?