How to hide Kibana menu for user?

How to hide Kibana menu for users? For example: I want hide Discover Alerting and Security.

I don´t think it is possible to remove the menu, but you can hide most menu items by assigning the “kibana_read_only” role to the user. That will give the user dashboard only access.

Can you clarify if you are looking to hide the menu items for all users or for specific users?

We customized Kibana to simplify the menu, navigation et al. For the menu, we customized the css since we wanted to simplify the menu across all users.