phpsa / filament-authentication

MIT License
106 stars 23 forks source link

How to selectively hide navigation? #31

Closed sirking1991 closed 11 months ago

sirking1991 commented 1 year ago

Hi, Is there a way that I can selectively show/hide the navigation group? For example, if a user belongs to admin, then show navigation, otherwise hide it.

Also is it possible to move the navigation to the bottom instead?

Screenshot 2023-02-19 at 5 35 18 PM
phpsa commented 1 year ago

Fiilament uses policies to determine who should view and not, assign a policy to each: https://filamentphp.com/docs/2.x/admin/resources/listing-records#authorization