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:
- the referenced user is now NOT blocked (i.e. Active users are shown)
- the visitor (accessing the view) happens to be the site administrator (uid 1)
- 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
Comment #1
kmv CreditAttribution: kmv commented