Ctools access plugin for users in a reference field
Wrote an access plugin to provide access/visiblity if a user context is present in a entityreference or user_reference field.
An example scenario where this plugin is useful is using panels'
node templates to render nodes. For a content-type with a field like "authors" (users that can view/edit this node) you can add a
selection rule like
Logged in user is User from Node (on Node: authors [field_authors]).
Without this plugin, you can only control access in a similar manner for fields with a cardinality of one, via a relationship. This plugin introduces the possibility to check access based on a multivalued field.