Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am building a website for students/teachers where students can rate the teachers on a scale from 1-10. The rating system already works, and only students can rate. However, to prevent abuse, I want to restrict the ability to rate profiles only to the confirmed students of a teacher as defined by the user relationship "student" I created. I enabled the user relationship node access module, but since user profiles with Profile2 are not nodes, but entities, there seems to be no way to restrict permissions to the fields shown on the user profile. Looking forward to any suggestions! Lennart