I have a special role (role A) that I have to have set with view user profiles permission. I then have another role (role B) as well as the administrator role that I don't want for that roles users to show up in a views exposed filter and/or for the users with role A to be able to view their profiles. Is there:
a. a way to stop users from certain roles showing up in the exposed filters.
b. a generic way (or module) that stops certain roles being able to view other certain roles.
I solved b with this module which works well:
So just need to come up with a way of preventing certain roles from showing in a views exposed filter