Is it possible to hide entries from the webui menus?
I note an old post from 2016 which doesn't seem to work now - is it supposed to or no longer possible? https://forum.opnsense.org/index.php?topic=2955.0
Also - officially or unofficially - any way to disable menu animations?
You can create a user with very specific permissions.
But your best bet is this PR. https://github.com/opnsense/core/pull/10033
As a separate proposal, I was also contemplating adding a toggle setting that could disable automatic menu collapsing generally. I think the scroll would probably still need to happen though.
Quote from: Greelan on March 27, 2026, 11:56:47 AMAs a separate proposal, I was also contemplating adding a toggle setting that could disable automatic menu collapsing generally. I think the scroll would probably still need to happen though.
In my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...
Not sure how to optimally fix this. Thats why I like your PR a lot.
Disabling automatic menu collapsing in my mind would quickly lead to a monstrosity.
Quote from: sopex8260 on March 27, 2026, 12:41:07 PMDisabling automatic menu collapsing in my mind would quickly lead to a monstrosity.
I agree - I would never use the toggle xD
Quote from: sopex8260 on March 27, 2026, 12:41:07 PMIn my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...
Not sure I understand what you mean by this?
Quote from: Greelan on March 27, 2026, 12:51:16 PMQuote from: sopex8260 on March 27, 2026, 12:41:07 PMIn my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...
Not sure I understand what you mean by this?
Example :
- System
-- Access
--- Users
Only Users can be opened in a New Tab ;)
Mouse/Touchpad Middle Click
or CTRL+Click = Open link in New Tab.
Thanks for the first heads up, if you notice the link it suggests that this would never be changed hence I didn't go looking for it.
I wasn't really looking to limit to users, just reduce the amount of options I know I would never need in a specific install.
I had made a suggestion in the past that having the software name in the list should ideally be replaced with its generic function (DHCP etc) and at a minimum it should say DHCP Kea, not Kea DHCP.
Quote from: nero355 on March 27, 2026, 03:32:13 PMQuote from: Greelan on March 27, 2026, 12:51:16 PMQuote from: sopex8260 on March 27, 2026, 12:41:07 PMIn my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...
Not sure I understand what you mean by this?
Example :
- System
-- Access
--- Users
Only Users can be opened in a New Tab ;)
Mouse/Touchpad Middle Click or CTRL+Click = Open link in New Tab.
Exactly this... And you think everything is fine because a new tab opens but its just the tab you were before duplicated :(
Quote from: fatalfuuu on March 27, 2026, 03:56:53 PMThanks for the first heads up, if you notice the link it suggests that this would never be changed hence I didn't go looking for it.
I wasn't really looking to limit to users, just reduce the amount of options I know I would never need in a specific install.
The link mentioned that it would not be overwritten during updates, a decade later, many things work differently on opnsense, and thus, this broke.
I know you don't need to limit users, but the result is the same. If you limit your user to not have permissions on options you "would never need in a specific install"
Quote from: fatalfuuu on March 27, 2026, 03:56:53 PMI had made a suggestion in the past that having the software name in the list should ideally be replaced with its generic function (DHCP etc) and at a minimum it should say DHCP Kea, not Kea DHCP.
I fully support your suggestion !! :)
By the way I think this topic : https://forum.opnsense.org/index.php?topic=51346.msg263541#msg263541
Is interesting for many of us here, so please have a look there too!
Quote from: nero355 on March 27, 2026, 03:32:13 PMExample :
- System
-- Access
--- Users
Only Users can be opened in a New Tab ;)
Mouse/Touchpad Middle Click or CTRL+Click = Open link in New Tab.
Got it. I don't see how that could be sensibly changed. Only leaf menu items (Users in this case) actually have a page associated with them, the parent menu items are just group headings. So there is nothing opening them in a new tab is actually able to show, hence the behaviour.
Quote from: Greelan on March 27, 2026, 09:41:38 PMI don't see how that could be sensibly changed. Only leaf menu items (Users in this case) actually have a page associated with them, the parent menu items are just group headings. So there is nothing opening them in a new tab is actually able to show, hence the behaviour.
I can't say for 100% sure, but I am
pretty sure that it can be done, however I am not a webdeveloper so I could be horribly wrong! :)
Quote from: nero355 on March 27, 2026, 11:18:39 PMQuote from: Greelan on March 27, 2026, 09:41:38 PMI don't see how that could be sensibly changed. Only leaf menu items (Users in this case) actually have a page associated with them, the parent menu items are just group headings. So there is nothing opening them in a new tab is actually able to show, hence the behaviour.
I can't say for 100% sure, but I am pretty sure that it can be done, however I am not a webdeveloper so I could be horribly wrong! :)
Yes, anything in theory can be done, but it still comes back to the question - what would the new tab show?
Quote from: Greelan on March 27, 2026, 09:41:38 PMQuote from: nero355 on March 27, 2026, 03:32:13 PMExample :
- System
-- Access
--- Users
Only Users can be opened in a New Tab ;)
Mouse/Touchpad Middle Click or CTRL+Click = Open link in New Tab.
Got it. I don't see how that could be sensibly changed. Only leaf menu items (Users in this case) actually have a page associated with them, the parent menu items are just group headings. So there is nothing opening them in a new tab is actually able to show, hence the behaviour.
Yeah, I don't know either. But I really don't like it. 😢
Quote from: Greelan on March 27, 2026, 11:51:46 PMYes, anything in theory can be done, but it still comes back to the question - what would the new tab show?
The expanded view ofcourse :)
Quote from: nero355 on March 28, 2026, 12:09:43 AMQuote from: Greelan on March 27, 2026, 11:51:46 PMYes, anything in theory can be done, but it still comes back to the question - what would the new tab show?
The expanded view ofcourse :)
This needs the whole menu logic to be rewritten and will honestly be a disaster.
Quote from: nero355 on March 28, 2026, 12:09:43 AMThe expanded view ofcourse :)
Ah, if you mean simply the expanded view in the sidebar, that should be doable. I will look into it.
Quote from: sopex8260 on March 28, 2026, 12:26:59 AMThis needs the whole menu logic to be rewritten and will honestly be a disaster.
Like I said : I am not a webdeveloper :)
Quote from: Greelan on March 28, 2026, 10:44:32 PMAh, if you mean simply the expanded view in the sidebar, that should be doable. I will look into it.
NICE! Thank you! :)