Describe the bug
Disable the user rights to see the Tree/List/Preview View under the "graph options" with the slider and save the user. The user has the correct rights in the database but the slider still shows enabled but it should be shown as disabled. The slider show all the time enabled no matter to the stored database value.
To Reproduce
Steps to reproduce the behavior:
This issue belong to all sliders Tree/List/Preview View under the graph Options no matter which one is disabled.
Expected behavior
When the right was disabled the slider should be shown as disabled.
Screenshots


Desktop (please complete the following information):
Server
Just confirming. That's pretty bad.
Okay, update lib/html_utility.php and this will be resolved.
Most helpful comment
Just confirming. That's pretty bad.