Commit fdfed0d5 authored by Georg Ringer's avatar Georg Ringer Committed by Christian Kuhn
Browse files

[TASK] Remove exclude setting from important fields

To simplify setting up permissions the following fields
are now always shown to editors:

- 'slug' in table 'pages'
- 'colPos' in table 'tt_content'

Resolves: #92202
Releases: master
Change-Id: I854d03f8a4b7b56cb69bed0a914697201462939e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65687

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 367424f3
...@@ -171,7 +171,6 @@ return [ ...@@ -171,7 +171,6 @@ return [
] ]
], ],
'slug' => [ 'slug' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:pages.slug', 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:pages.slug',
'displayCond' => 'USER:' . \TYPO3\CMS\Core\Compatibility\PseudoSiteTcaDisplayCondition::class . '->isInPseudoSite:pages:false', 'displayCond' => 'USER:' . \TYPO3\CMS\Core\Compatibility\PseudoSiteTcaDisplayCondition::class . '->isInPseudoSite:pages:false',
'config' => [ 'config' => [
......
.. include:: ../../Includes.txt
========================================================
Important: #92202 - Remove exclude from important fields
========================================================
See :issue:`92202`
Description
===========
To simplify the setup of permissions, the following fields are now shown always to every editor:
* Field "colPos" from table "tt_content"
* Field "slug" from table "pages"
If the fields should be hidden, either the setting :php:`'exclude' => true` can be set in your
site package extension or the following TsConfig can be used:
.. code-block:: typoscript
TCEFORM.pages.slug.disabled = 1
TCEFORM.tt_content.colPos.disabled = 1
.. index:: Backend, ext:core, TCA
...@@ -451,7 +451,6 @@ return [ ...@@ -451,7 +451,6 @@ return [
] ]
], ],
'colPos' => [ 'colPos' => [
'exclude' => true,
'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos', 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos',
'config' => [ 'config' => [
'type' => 'select', 'type' => 'select',
......
Markdown is supported
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