Problem/Motivation

The nodeaccess module has a validation bug when individual grant operations are disabled:

1. I disabled "View" permissions in nodeaccess settings
2. Form Behavior: When view permissions are disabled, the grants form doesn't include the grant_view checkbox
3. Validation Bug: The validation code still tries to access $grant['grant_view'] without checking if the key exists
4. Error: This causes the "Undefined array key 'grant_view'" warning

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork nodeaccess-3545379

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

realityloop created an issue. See original summary.

realityloop’s picture

Status: Active » Needs review
d.fisher’s picture

This looks pretty straightforward to me and makes sense. Can we get one more +1 for RTBC?