How to "disable" filament page/resource instantly?
Is there a way to enable/disable filament page or resource in very short way? Not only in navigation menu but also make it totally unavailable without deleting it.
4 Replies
Using a policy's viewAny method
Great... then what about a Page class? I think I don't have model for a Page
there is no single method
you should disable navigation and then authorize in the mount() method
Alright, already solved... thank you very much