Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
During the devlopment process node_access_where_sql lost a parameter (http://cvs.drupal.org/viewcvs/contributions/sandbox/jonbob/node_permissi...) that is neccessary to get nodes that may be accessed by an other than the current user. This is neccessary for modules such as notify or subscriptions to work properly.
Comment | File | Size | Author |
---|---|---|---|
#3 | node_15.patch | 1.62 KB | killes@www.drop.org |
node_14.patch | 1.13 KB | killes@www.drop.org | |
Comments
Comment #1
JonBob CreditAttribution: JonBob commentedAt first glance it looks like that was a mistake, and this is the right way to fix it.
Comment #2
Dries CreditAttribution: Dries commentedThis needs more work/testing, I think. For example, the function
node_access()
also passesnode_access_grants()
a variable called$uid
that is not declared.Comment #3
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedYou are right. I added a third parameter $uid to node_access.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #5
(not verified) CreditAttribution: commented