diff --git a/core/modules/user/src/DefaultCancellationHandler.php b/core/modules/user/src/DefaultCancellationHandler.php index 13a6b7ea22..da13abce87 100644 --- a/core/modules/user/src/DefaultCancellationHandler.php +++ b/core/modules/user/src/DefaultCancellationHandler.php @@ -100,6 +100,7 @@ protected function updateMultiple(array $ids, string $method): void { */ protected function getQuery(UserInterface $account, string $method): QueryInterface { $query = $this->storage->getQuery() + ->accessCheck(FALSE) ->condition($this->entityType->getKey('owner'), $account->id()); if ($method === static::METHOD_REASSIGN && $this->entityType->isRevisionable()) {