From 6c6f7ad56607dfb5e65188b4fd509604afbab425 Mon Sep 17 00:00:00 2001
From: catch <catch56@gmail.com>
Date: Wed, 19 Oct 2022 21:40:30 +0100
Subject: [PATCH] Issue #3315042 by benjifisher, AaronMcHale: Remaining tasks
 for "edit block $type" permissions

---
 core/modules/block_content/src/Entity/BlockContentType.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/block_content/src/Entity/BlockContentType.php b/core/modules/block_content/src/Entity/BlockContentType.php
index 206f403175f7..469dbfa5ae8d 100644
--- a/core/modules/block_content/src/Entity/BlockContentType.php
+++ b/core/modules/block_content/src/Entity/BlockContentType.php
@@ -27,7 +27,7 @@
  *     },
  *     "route_provider" = {
  *       "html" = "Drupal\Core\Entity\Routing\AdminHtmlRouteProvider",
- *       "permissions" = "Drupal\user\Entity\EntityPermissionsRouteProviderWithCheck",
+ *       "permissions" = "Drupal\user\Entity\EntityPermissionsRouteProvider",
  *     },
  *     "list_builder" = "Drupal\block_content\BlockContentTypeListBuilder"
  *   },
-- 
GitLab