Can the GUI levels stay expanded?

Started by tcm1010, March 20, 2026, 04:01:13 AM

Previous topic - Next topic
You can already hide sections by creating a user and only give it access to pages that you want to use with it. Then log in with that user.
Hardware:
DEC740

Yes, thank you for suggesting that. Currently, the menu.xml files are adjusted, which will be overwritten on updates and does nothing to prevent access to a hidden service if you know the full URL. I will give your suggestion a shot. It does sound more correct.

You don't have to adjust the existing Menu.xml files since they are pluggable (just add one under OPNsense/MyChanges/Menu/Menu.xml for example) and you can add duplicate entries with the visibility="delete" override.

Has been the case since 2016: https://github.com/opnsense/core/commit/d53780856a58f


Cheers,
Franco

Today at 07:47:16 PM #18 Last Edit: Today at 08:04:49 PM by vimage22

EDIT: By creating a group called "webui", and then choosing all of the desired privileges from the drop down, was much easier than changing 148 items in System: Access: Privileges. Then assign your new user to the group and the effect is instantaneous.

Excellent, thank you again. Also, System: Access: Privileges worked really well. Adjusting the look and feel of the Web UI is quite valuable.