In Drupal 7 I'm trying to hide a node from a listing view based on whether the current user has a certain role and the node references a child term of a specific taxonomy term.

For example I have a node with content type 'job' and I want users with the role 'Store Manager' to be able to see all jobs except those that have a taxonomy term with the parent 'Manager'.

  • 1
    Is this listing created using views? – Ash U Mar 13 '17 at 23:53
  • Sorry - yes it is! – megan.hills Mar 14 '17 at 7:58

Your Answer

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

Browse other questions tagged or ask your own question.