Games that are private and games without permissions shouldn't appear on the search page

oh, where should i put this then?