F
Filament10mo ago
Damien

Is there a way to hide a page?

I know you can hide it from the navigation based on authorisation and using this method:
public static function canAccess(): bool
{
return auth()->user()->canManageSettings();
}
public static function canAccess(): bool
{
return auth()->user()->canManageSettings();
}
However I don't want to disable it completely, I just don't want to have the link rendered in the navigation and I cannot find in the docs where this might be a possibility.
2 Replies
Damien
DamienOP10mo ago
That is exactly what I wanted and failed to find! I am certain the search bar trolls me!
Want results from more Discord servers?
Add your server