- Issue created by @mxr576
- Merge request !3420Issue #3340246: Node module must not set user.node_grants:* context if current user != acting user β (Open) created by mxr576
- ππΊHungary mxr576 Hungary
π Access cacheability is not correct when "view own unpublished content" is in use Needs work can be related but I am not sure.
π NodeAccessControlHandler::checkAccess() does not add a necessary cache context Needs work is most probably totally wrong with this proposed change
- return AccessResult::allowedIf($node->isPublished())->addCacheableDependency($node); + return AccessResult::allowedIf($node->isPublished())->addCacheableDependency($node)->cachePerUser();
- Status changed to Needs work
6 months ago 2:45am 21 March 2025 - Status changed to Needs review
3 months ago 9:59am 11 June 2025 - ππΊHungary mxr576 Hungary
@smustgrave please let me know if anything is still missing from the IS.
The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.