Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have been racking my brain all weekend on this and hope that someone can shed some light on the best approach to accomplish a this task. I am building an HR system for my company and have employees (user entities) that work at different locations. Each location has an HR rep that should only see the employees who work at their location. In addition there are corporate employees who can see all employees no matter what their location.