Disable Q menu "Entities" tab for some ranks?

How do I make it so only certain ranks can access the “Entities” tab in the Q menu?

Thanks!