0

Here is the use case:

  1. User registers, and creates "Employee Profile" (using profile2)
  2. Admin user creates node of type Location
  3. Location node references (using entity reference) user's "Employee Profile," and then displays all the employees at a location (using the Views module, and EVA)

It is all complete, but users whose profile is being referenced needs to give permission before their profile is displayed in the Location node.

0

In order to achieve this, at a large scale, is to create a field on the user profile (example "Allow your profile to be displayed on Locations?" Yes or No).

Using views, filter profiles by field with value equal to yes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.