Introduced in branch/version: 9.2.x / 9.2.0 The \Drupal\Core\Entity\Query\QueryInterface::accessCheck() allows developers to specify whether only content entities that the current user has view access ...