Conditions in Header

Hello guys. Do you have any idea what I can do to add conditions in header tpls? I need to totally hide some navigation (not the dropdown items that can be done in SecuritySuite) depending on the user. Please help me guys. Im using v7.10

You can customize this file:

https://github.com/salesagility/SuiteCRM/blob/master/themes/SuiteP/tpls/_headerModuleList.tpl#L698-L720

by creating a copy in the custom folder.

The lines that I highlighted can give you an idea on how to use Smarty conditions (they only show admin menu to admins). But I don’t know much about this, you’ll have to try and see what works…

Okay thank you sir. Another thing, how can I get user beans in a tpl file? Do you know how?