How to allow access to page variant (Page Manager) if user belongs to list The Situation
I have an ECK entity called &quot;Event&quot; in my Drupal 7 site.
I have an entity reference field on Event that collects users who flag the Event with a non-global flag called &quot;Sign up&quot; via a rule.
I use Page Manager to control how an Event entity is shown to the users.
My context:
Edit relationship &quot;User from Event (on Event: List of attendees [field_attendees]&quot;
Event: Entity being viewed
Identifier: User from Event Attendees [field_attendees])
Keyword: event_attendees
Delta: 0
Here is the Selection Rule:
User: compare    logged_in_user is User from Event Attendees [field_attendees]
The Problem
As you can see, one of my Page Variants has a selection rule that checks if the logged_in_user is on the list of attendees but it doesn't work because the selection rule takes a &quot;delta&quot; and that means that it takes a hard coded integer to select one of the list. And if I leave this empty, it automatically takes &quot;0&quot; i.e. the first one in the list. There seems to be no option to set the delta to include all or any.
The Question
How can I create this selection rule to check if this user is 'on the list'?
Currently I'm using a selection rule that checks if the logged-in user has &quot;flagged&quot; the Event with a Signup. This works but checking if the logged-in user is on the list would be a waterproof solution.