From baa872d56cc1e741966b43258c8a0a050f8f4b6c Mon Sep 17 00:00:00 2001 From: Joshua Sedler <55201-Grevil@users.noreply.drupalcode.org> Date: Thu, 30 Mar 2023 15:46:08 +0000 Subject: [PATCH] Issue #3350591: Missing query access check in LpHostEntityListBuilder --- .../src/LpHostEntityListBuilder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/modules/layout_paragraphs_custom_host_entity_test/src/LpHostEntityListBuilder.php b/tests/modules/layout_paragraphs_custom_host_entity_test/src/LpHostEntityListBuilder.php index daed0ac..824836e 100644 --- a/tests/modules/layout_paragraphs_custom_host_entity_test/src/LpHostEntityListBuilder.php +++ b/tests/modules/layout_paragraphs_custom_host_entity_test/src/LpHostEntityListBuilder.php @@ -67,6 +67,7 @@ class LpHostEntityListBuilder extends EntityListBuilder { $total = $this->getStorage() ->getQuery() + ->accessCheck(FALSE) ->count() ->execute(); -- GitLab