Commit be32f417 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Remove 'exclude' from HIDE_FOR_NON_ADMINS fields

TCA fields having displayCond='HIDE_FOR_NON_ADMINS'
can not be selected as "exclude" fields in user group
setup access rights setup.

It does not make sense to mark those exclude=true,
the patch removes that from affected fields.

Change-Id: Ia75248122bb645bd24c7948c7b4b82d2555ed9ee
Resolves: #98046
Releases: main, 11.5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75324

Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 7111ddad
......@@ -187,7 +187,6 @@ return [
],
],
'TSconfig' => [
'exclude' => true,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:TSconfig',
'displayCond' => 'HIDE_FOR_NON_ADMINS',
......@@ -209,7 +208,6 @@ return [
],
],
'editlock' => [
'exclude' => true,
'displayCond' => 'HIDE_FOR_NON_ADMINS',
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:editlock',
......@@ -824,7 +822,6 @@ return [
],
],
'tsconfig_includes' => [
'exclude' => true,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tsconfig_includes',
'displayCond' => 'HIDE_FOR_NON_ADMINS',
......
......@@ -242,7 +242,6 @@ return [
],
],
'editlock' => [
'exclude' => true,
'displayCond' => 'HIDE_FOR_NON_ADMINS',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:editlock',
'config' => [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment