Add a link to the admin panel in user menu
Hi,
I have 2 panels, one for customers and one for admins. I want to add a User Menu Item for the Admin panel if the user has access to it.
How do I do this?
Auth::user()
gives me a null
in the AdminPanelServiceProvider
so I think it is evaluated before the user's session exists?4 Replies
Try this
There is no
visible
method on MenuItem
I tried this:
But Auth::user()
is null
Argh, wait for this PR to be merge
GitHub
Feature: hide menu item by sumardi · Pull Request #7477 · filamentp...
Changes have been thoroughly tested to not break existing functionality.
New functionality has been documented or existing documentation has been updated to reflect changes.
Visual changes are ex...