Search results based on user role
I have a membership site with 1500 people. I have 4 different roles and several pages or posts of content that should not be open to everyone.
I would like to set search results based on the pages or posts they have access to within the site. Meaning that if I have a page that is to be only available to the admin role, it should not be printed on the search results based on the word or item being searched in the site.