I have to hide from MegaMenu and reports a custom module for specific users, depending on a value of current user and regardless thier role membership.
What is the best way to do this?
Use Roles to hide specific modules. Add the users to hidden modules role.
A user can be a member of many roles.
i can't manage that with Roles due to some specific requirements. I need to check a current_user's value for allow him to see the module
Retrieving data ...