Project

General

Profile

Actions

Bug #72404

closed

Epic #83669: Improve file list / file browser

misleading information while creating files in filelist module

Added by Bernd Wilke over 8 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2015-12-23
Due date:
% Done:

100%

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

Description

While you can create a textfile in the filelist module you are shown a list of file extensions with the hint these are 'allowed'. the text could be interpreted as: 'you are allowed to create files with one of these extensions only', but it should be: '(afterwards) you are allowed to edit only files with one of these file extensions'

Create new textfile
File name:
[______________________________]
Allowed file extensions:
TXT TS TYPOSCRIPT HTML HTM CSS TMPL JS SQL XML CSV XLF


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86765: Error: when creating disallowed textfile type in filelist moduleClosedThomas Alboth, undkonsorten2018-10-27

Actions
Actions #1

Updated by Daniel Goerz over 8 years ago

But isn't the real bug that it is possible to create any file type regardless the list of allowed types?

Edit: And that you can rename any file to have any type you like. Where is the point in denying the editor to edit e.g. php files but allow to create a php file, rename it into .txt, edit it and rename it back to .php?

Actions #2

Updated by Bernd Wilke over 8 years ago

depending on the interpretation of the message / or the interpretation of the whitelist.
if that whitelist should handle all file actions: the creation of other files is an error.
if that extensionlist should verify an editor can edit/modify content of these files the message is faulty.

I would prefer a clear blacklist for each user/usergroup to have individual rights: one usergroup may edit html-files, others only should be allowed to upload/rename/delete images. but that would be another feature.

Actions #3

Updated by Riccardo De Contardi about 6 years ago

  • Parent task set to #83669
Actions #4

Updated by Riccardo De Contardi over 5 years ago

  • Related to Bug #86765: Error: when creating disallowed textfile type in filelist module added
Actions #6

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59303

Actions #7

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59303

Actions #8

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59409

Actions #9

Updated by Oliver Hader over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59410

Actions #11

Updated by Oliver Hader over 5 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF