From 389315335740ed76a0fcc955a94d834a5a778b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20S=C4=85gol?= <marcin@soee.pl> Date: Tue, 19 Mar 2024 13:55:55 +0100 Subject: [PATCH] [TASK] Add description to tableRestrictions palette in BE groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces a description for the newly added tableRestrictions palette in the Backend (BE) user groups form, which groups the tables_select and tables_modify fields together. The description clarifies that tables designated for modification are automatically considered as tables for listing as well. This enhancement aims to improve user experience by eliminating the redundant step of setting tables for listing when they have already been marked for modification. Resolves: #103426 Related: #103413 Releases: main Change-Id: I0410f5d406e105f83e5cbaf13eec6322d4f74233 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83522 Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: core-ci <typo3@b13.com> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Stefan Bürk <stefan@buerk.tech> --- typo3/sysext/core/Configuration/TCA/be_groups.php | 1 + typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf | 3 +++ 2 files changed, 4 insertions(+) diff --git a/typo3/sysext/core/Configuration/TCA/be_groups.php b/typo3/sysext/core/Configuration/TCA/be_groups.php index 0e1398956f5d..95610e8f4f2b 100644 --- a/typo3/sysext/core/Configuration/TCA/be_groups.php +++ b/typo3/sysext/core/Configuration/TCA/be_groups.php @@ -281,6 +281,7 @@ return [ 'tableRestrictions' => [ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:be_groups.palettes.tableRestrictions', 'showitem' => 'tables_select, tables_modify', + 'description' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:be_groups.palettes.tableRestrictions.description', ], ], ]; diff --git a/typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf b/typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf index 72dfbcb43378..86a2bd4b3315 100644 --- a/typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf +++ b/typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf @@ -156,6 +156,9 @@ <trans-unit id="be_groups.palettes.tableRestrictions" resname="be_groups.palettes.tableRestrictions"> <source>Table restrictions</source> </trans-unit> + <trans-unit id="be_groups.palettes.tableRestrictions.description" resname="be_groups.palettes.tableRestrictions.description"> + <source>Tables chosen for modification automatically receive read access permissions. Therefore, there's no need to select them again in the list designated for listing purposes.</source> + </trans-unit> <trans-unit id="be_groups.title" resname="be_groups.title"> <source>Grouptitle</source> </trans-unit> -- GitLab