Render Sidemenu based on user policy

Hi everyone, I’m compiling the project from scratch and would like to know how to change the side menu rendering based on the permissions of the users. In my case users with view permission cant see any icons in the side menu. The default behavior hides almost all the icons so I believe that is possible to do. I want to hide the “Dashboard icon” too. Some one can help to identify where I need to change the code to make this work? Thanks a lot!

Image example: