Bug #62008
closedoptions.folderTree.hideCreateFolder not working
0%
Description
The USER-TSconfig property options.folderTree.hideCreateFolder does not hide the form to create new folders.
After patching the code in line 151 of
typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php
the option property worked as expected:
$hideFolder = trim($GLOBALS['BE_USER']->getTSConfigVal('options.folderTree.hideCreateFolder'));
if ($this->folderObject->checkActionPermission('add') and !$hideFolder) {
// folder creation form
Updated by Markus Klein over 9 years ago
- Status changed from New to Accepted
Related documentation: http://docs.typo3.org/typo3cms/TSconfigReference/UserTsconfig/Options/Index.html?highlight=foldertree.hideCreateFolder
It is implemented for the ElementBrowser but not in the FileList module.
The FileList checks the FAL permissions, whereas the ElementBrowser does not.
IMHO both places should check both permissions. Longterm I'd deprecate the TSconfig option.
Updated by Benni Mack almost 9 years ago
- Status changed from Accepted to Needs Feedback
Does this solve your problem?
Updated by Alexander Opitz over 8 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.