From fcbfb04588e6dcf162b9afc730e1a0f49c665dce Mon Sep 17 00:00:00 2001
From: Benni Mack <benni@typo3.org>
Date: Mon, 12 Oct 2020 16:30:54 +0200
Subject: [PATCH] [BUGFIX] Allow more page types for backend usergroups

With the new possibility to add more pages.doktype variants
since TYPO3 v10, the DB field "pagetypes_select" is not large enough
for let's say 50 custom page types.

The DB field should be extended to allow any kind of custom doktypes
to be selected.

Resolves: #92548
Releases: master, 10.4
Change-Id: I2a13df7f1095a48187cdfa4acee04c623e3a088b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66103
Tested-by: David Steeb <david.steeb@b13.com>
Tested-by: Matthias Stegmann <matthias.stegmann@b13.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Desiree Lochner <desiree.lochner@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: David Steeb <david.steeb@b13.com>
Reviewed-by: Matthias Stegmann <matthias.stegmann@b13.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Desiree Lochner <desiree.lochner@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
---
 typo3/sysext/core/ext_tables.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/ext_tables.sql b/typo3/sysext/core/ext_tables.sql
index 7cf0b714f993..fc0eb4a228a3 100644
--- a/typo3/sysext/core/ext_tables.sql
+++ b/typo3/sysext/core/ext_tables.sql
@@ -8,7 +8,7 @@ CREATE TABLE be_groups (
 	allowed_languages varchar(255) DEFAULT '' NOT NULL,
 	custom_options text,
 	db_mountpoints text,
-	pagetypes_select varchar(255) DEFAULT '' NOT NULL,
+	pagetypes_select text,
 	tables_select text,
 	tables_modify text,
 	groupMods text,
-- 
GitLab