Project

General

Profile

Actions

Bug #62008

closed

options.folderTree.hideCreateFolder not working

Added by Ernst Went over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2014-10-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions

Also available in: Atom PDF