How to control content access based on value of a List (text) field in user profile? When my users sign up, they must choose whether they are a Man or a Woman, via a List (text) field. If a user chooses "Man", they should only be able to see Woman users on the site. Likewise, if a user chooses "Woman", they should only be able to see Man users on the site. The users cannot edit the value of this field once it is set. The user is assigned a custom user role (man or woman) when they sign up, based on what they choose from that field.

I am also open to using Profile2 with two Profile types (man and woman), but I would still need a method to restrict one profile type from viewing other users of that same profile type.

How can I set up a permission that will allow this type of access restriction? I have not been able to find a solution to solve this scenario.
Check taxonomy_permissions (I think will do in combination with role assignment and has a stable release too), term_access module, Access by Term