Looking at header.tpl file, it does not allow for a custom path consideration for _headerModuleList.tpl to help in upgrade safe changes to the Menu Items if we were to add some custom conditions apart from the Permissions and Roles access.
Tried to move the file to custom/themes/SuiteP/tpls/_headerModuleList.tpl but it didn’t helped. Any suggestions on modifying menu display with upgrade safe approach?