Hide user and help menu based on role

Hi there,

any chance to add the ability to hide help and user menu items based on permissions? I’m able to modify code but will get overwritten by bench update.

Thx

For now, help and other menu items in that section cannot be set as hidden using customization tools available.

@umair thx for answer, that’s why i’m hiding it by modifying the code. Any hint on how to preserve code customizations when running bench update?

If you are editing .JS file, then that’s something you should be able to manage via Custom Scripts as well. If you are editing a .PY files, then you should create a custom application for now.

p.s.: I am not a developer.

@umair got it …only thing i didn’t understand yet is how to extend/override html file actually toolbar.html