How do I hide options under user profile icon in erpnext?

There are a number of options when you click on the user profile icon in the top-right of the screen. Can anyone tell me if there’s a good way to block access to the options that are not needed for certain user roles? Thanks in advance