F
Filament6mo ago
MZX

How to hide a column in a table using Filament Shield?

I have the roles set up, but i want to hide a specific column based on role
Solution:
Figured it out ->visible(fn() => auth()->user()->hasRole('super_admin'))...
Jump to solution
1 Reply
Solution
MZX
MZX6mo ago
Figured it out ->visible(fn() => auth()->user()->hasRole('super_admin'))

Did you find this page helpful?