You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
Hi,
As you know Nova let you to decide if you want to display a resource in the Sidebar based on a Policy with a method viewAny.
Does it work with your package?
I tried it but I could not make it work.
My dashboard is call Users and also I have a Users Resource
After I add this code to the UserPolicy the Users Resource disappears from the Sidebar but not the User Dashbord
public function viewAny(User $user)
{
return false;
}
Do you know why? Am I missing something?
Thank you for any help,
The text was updated successfully, but these errors were encountered: