Validation bug when individual grant operations are disabled

Created on 8 September 2025, 26 days ago

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

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia realityloop

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024