Conditionally hiding user navigation items
In the documentation there is a description of how to hide the main menu items (NavigationItem visible/hidden). However, this does not work for the user menu in the top right corner (userMenuItems -> MenuItem).
I would like to conditionally display these items depending on user permissions. How do I do this?
I would like to conditionally display these items depending on user permissions. How do I do this?
Solution
OK, it looks like there will be such an option soon https://github.com/filamentphp/filament/pull/7477/commits so the question will be out of date in a while.
GitHub
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...
New functionality has been documented or existing documentation has been updated to reflect changes.
Visual changes are ex...