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 #1

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.

Actions #2

Updated by Benni Mack almost 9 years ago

  • Status changed from Accepted to Needs Feedback

Does this solve your problem?

Actions #3

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.

Actions

Also available in: Atom PDF