Needs work
Project:
Drupal core
Version:
main
Component:
taxonomy.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2026 at 10:47 UTC
Updated:
30 Aug 2026 at 11:43 UTC
Jump to comment: Most recent
Part of #3619565: [meta] Move access workarounds down into query alter hooks.
For now, experimenting with how this could work and what the impact is.
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
Comment #3
berdirThis works well enough for the selection plugin, but it does not work yet for the more advanced stuff that jsonapi is doing, which is specifically filters through relationships.
Not sure what to do about that. The query alter system isn't really designed to handle that, and any current query access implementation , be it entity.module or node grants rely on query alter.
It also exposes a bug in the term loadTree static caching, which doesn't vary by user.