Active
Project:
References
Version:
7.x-2.0
Component:
Code: node_reference
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2012 at 21:36 UTC
Updated:
19 Nov 2012 at 21:36 UTC
Hi,
I've noticed an issue in node reference fields showing unpublished content to anonymous users. It seems that while node_reference_field_prepare_view(), for example, sets access variables, it does not get carried over to the $elements[N]['#access'] in drupal_render() (though it is in $elements['#items'][N]['access']). This makes it so that field items which should not be accessible, are.