Refactor Core Node Access Tests to not only test for denies, also test for public grants

Created on 27 March 2013, almost 12 years ago
Updated 17 January 2025, 5 days ago

Follow up for 1. in #1658846-187: Add language support to node access grants and records β†’

Problem/Motivation

Missing test coverage for grants. We only have tests for denies.

Proposed resolution

Add more coverage for the case where there are actually explicit "public" grant records written from another module.

Remaining tasks

  • (optional) Check this issue summary for accuracy
  • (optional) Add some details to make this able to be picked up by someone new
  • Add the tests. See contributor task document for writing tests: http://drupal.org/node/1468170

User interface changes

No UI changes.

API changes

No API changes.

Original report by @xjm

We agreed earlier:
2. Add more coverage for the case where there are actually explicit "public" grant records written from another module or write a follow-up issue.

Fully agree, but as this is not yet covered currently I think we can make a follow up Issue: "Refactor Core Node Access Tests to not only test for denies, also test for public grants"

Let's file this and link it here.

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

node system

Created by

πŸ‡ΊπŸ‡ΈUnited States yesct

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024