[TYPO3-core] RFC: #13059: overriden user settings are not visible to the user

Georg Ringer news at ringerge.org
Fri Dec 18 08:10:56 CET 2009


This is an SVN patch request.

Type: Bugfix, nobrainer

Bugtracker references:
http://bugs.typo3.org/view.php?id=13059

Branches:
trunk, TYPO3_4-3

Problem:
It is possible to override settings in the user settings with TS.
Currently this is not visible to the user because the fields are not
locked. Result: A user will try to change the settings but it is not
possible because not allowed.

To reproduce add those lines to your user tsconfig:
--------
setup.default.edit_docModuleUpload = 1
setup.override.edit_docModuleUpload = 1

setup.default.resizeTextareas_MaxHeight= 111
setup.override.resizeTextareas_MaxHeight= 310
---------

and go to the user settings > tab "edit & advanced functions". ´Change
the text in the input field "maximal height of resizeable textareas" and
save it. Changes won't be saved.

Apply patch and take a look at the settings again. They are now rendered
with the attribute disabled="disabled"

Solution:
If the field is overridden, set the attribute disabled

Additional information:
The screenshot shows the extra checkbox the patch #10533 will
(hopefully) introduce, the TsConfig from above is for an already
existing checkbox

As this is a bug and not a feature, it should go into 4.3. as well!


Regards
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13059-disabled-user-settings.gif
Type: image/gif
Size: 14974 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091218/b68d3aba/attachment-0001.gif>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13059-disabled-user-settings.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091218/b68d3aba/attachment.asc>


More information about the TYPO3-team-core mailing list