- Issue created by @mxr576
- @mxr576 opened merge request.
- 🇭🇺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();