_nodeaccess_get_grants doesn't work

Created on 1 March 2023, almost 2 years ago
Updated 1 September 2023, over 1 year ago

Problem/Motivation

The _nodeaccess_get_grants() function refers twice to $node->id when it should be $node->id(). Moreover, it doesn't include all of the fields it references in the database queries.

Proposed resolution

Change the property to a method by adding parentheses, and add the necessary fields to the queries.

Remaining tasks

Make a patch.

πŸ› Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BenStallings

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024