In function nodeaccess_nodereference_field_update_instance(), node_access_needs_rebuild(TRUE) is set always when a relevant content type is saved, and nodes exist for that content type.

This makes a rebuild necessary even when no relevant data have been changed in the content type settings.
We need a check if the stored values and the new values differ, before setting node_access_needs_rebuild(TRUE);

Comments

danielb’s picture

Status: Active » Closed (duplicate)