You can use ui-control to enable and disable a tab or show and hide, you can disable and hide in combination to
e.g.
[{"id":"aef67b0c.38751","type":"inject","z":"b779de97.b1b46","name":"true","props":[{"p":"enable","v":"true","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":70,"y":1480,"wires":[["46ccfdb2.490184"]]},{"id":"46ccfdb2.490184","type":"switch","z":"b779de97.b1b46","name":"","property":"enable","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":160,"y":1520,"wires":[["2bddd26.51c5f2e"],["e7f55eab.d7c8f8"]]},{"id":"2bddd26.51c5f2e","type":"template","z":"b779de97.b1b46","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"tabs\": {\"show\": \"Level\", \"enable\": \"Level\"}}","output":"json","x":330,"y":1500,"wires":[["b02f0367.55436"]]},{"id":"e7f55eab.d7c8f8","type":"template","z":"b779de97.b1b46","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"tabs\": {\"hide\": \"Level\", \"disable\": \"Level\"}}","output":"json","x":330,"y":1540,"wires":[["b02f0367.55436"]]},{"id":"91a293b8.336418","type":"inject","z":"b779de97.b1b46","name":"false","props":[{"p":"enable","v":"false","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":70,"y":1560,"wires":[["46ccfdb2.490184"]]},{"id":"b02f0367.55436","type":"ui_ui_control","z":"b779de97.b1b46","name":"","events":"all","x":510,"y":1520,"wires":[[]]}]
change the name "level" in the templates to a name of the tab you want to affect.