I have an entity with two references fields (entity) pointing to different drupal users.
I have set up the node access permissions of the first entity and it is working correctly with all fields except the second reference field.

I do not wish to use the node access user reference permissions associated with the second field but it doens't work and nobody can see the content of this specific field except the administrator, and the user referenced in the second field.

I have tried the following:
- all the permissions/settings of the seconf field are left blank/unchecked.
- all the permissions/settings are set just the same as for the first field with priority 0 (grant for all users view is set)
- all the permissions/settings are set just the same as for the first field with priority 10

None of these seems to display the field for anonymous users or authenticated users different from what is in this second field.

http://drupal.org/node/1721930

Comments

bendev’s picture

Update:

issue seems to be related to the association of module "field permission" with "node access user reference"

custom "field permission" are not working for this field X in combination with node access user reference

Field visibility and permissions are set like this:

View anyone's value for field X => everything is checked (anonymous authenticated and admin)

but Anonymous user can't view the field.