hide module for a role

how can I hide module for a role

I know how to hide panel based inside module , but not complete module