Here's a problem i'm noticing. I'm not completely convinced this is actually a bug - I'd think someone else would have noticed this by now (maybe i'm totally missing something). But it seems that way.

I have a cck type with a user reference field. When i have a saved grant on a node and then change a user reference value, the grant on the node gets removed. I traced this back to function nodeaccess_insert_userreference, and noticed the logic doesn't check if a user reference field is enabled in the node type settings at /admin/user/nodeaccess. The attached patch adds a check in functions nodeaccess_insert_userreference and nodeaccess_delete_userreference.

Comments

joelpittet’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Issue summary: View changes
Status: Active » Needs review
d.fisher’s picture

Status: Needs review » Postponed (maintainer needs more info)

Drupal 6 support was ended as of February 24th 2016.

We are doing some housekeeping on the nodeaccess issue queue and moving all Drupal 6 issues to "postponed (maintainer needs more info)". See https://www.drupal.org/project/nodeaccess/issues/3516593.

If this issue persists on the latest dev branch of nodeaccess (2.0.x-dev) then please feel free to comment and we will change the version against this issue. If we do not hear any feedback within 2 weeks (9th October 2025) we will go ahead and close this issue as outdated.

Thank you.

d.fisher’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

As per the above, as there has been no response we will now close this issue as outdated.

If this issue persists on the latest dev branch of nodeaccess (2.0.x-dev) then please feel free to update the version on this issue and reopen it.

Thank you.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.