I have a content-type that records some information about blocked users. In the content-type I have a field (entity reference, target type: user) which is a list populated by an entity reference view. That view simply looks for blocked users ("User: Active(No)") and shows the users name ("User: Name"). This works.

I have another view (content panel and page) that shows the content-type's records in a table. One of the fields in the table is the above user reference. This is where the problem is: That table field is only populated (with the name) if:

  1. the referenced user is now NOT blocked (i.e. Active users are shown)
  2. the visitor (accessing the view) happens to be the site administrator (uid 1)
  3. the visitor (accessing the view) is part of a role that has the 'Administer users' permission

The behavior here is inconsistent, why can it be OK for the visitor to see the user name via an entity reference view but not via a content view if the referenced user happens to be blocked?

In any case, I think that the behavior should be that the user is returned in the content view.

Comments

kmv’s picture

Title: blocked users shown in entity refernence list but not in content » blocked users shown in entity reference list view but not in content view