Reviewed & tested by the community
Project:
Drupal core
Version:
main
Component:
node system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Apr 2026 at 10:16 UTC
Updated:
10 Apr 2026 at 17:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
catchComment #4
catchAdding before/after xhprof (the first screenshot is the 'after'...)
Comment #5
smustgrave commentedTest failure seems related to this change
Comment #6
catchI think we need to rework the test here - it's using state to manipulate whether grants are returned or not for a user, which makes the module implements check unreliable.
Also can't see why it's a functional test - it makes no http requests, could probably go all the way to a unit test.
Comment #7
catchUpdated the test assertion. The difference is that when no module implements node grants, users without admin access now get 'all' instead of 'view.all' for the cache context. This is more consistent with how the node access handler/storage itself handles that case.
Also added a note to #3414655: [META] Convert Functional tests classes which make no HTTP requests into Kernel tests for refactoring the test to a kernel or unit test.
Comment #8
smustgrave commentedLGTM