-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide from navigation #33
Comments
Who do you want to hide it from? You can probably do this the same way you would with auth: public function tools()
{
return [
(new SettingsTool)->canSee(function ($request) {
return false;
}),
];
} You can put whatever you want in that closure though, so you could limit it to a specific email or user group or whatever. Let me know if that works! |
Yes, I know this, and there I use speciffic role or permission - for autohorization users, If there is no option - I will create a fork.. |
Interesting, how are you rendering a custom navigation? Wouldn't that override everything, including this tool? |
No, it just override nova-view which render navigation: |
Do you have any other tools installed? Do they show up? |
@PrzemekTkaczyk thanks for your patience. Create a file in your project at |
Thanks a lot ! :). 👍 |
Hello,
First, thank you for creating this package!
Is there any simple option to hide it from navigation (not using roles/permissions) ?
The text was updated successfully, but these errors were encountered: