Bug #72404
closedEpic #83669: Improve file list / file browser
misleading information while creating files in filelist module
100%
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
Updated by Daniel Goerz almost 9 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?
Updated by Bernd Wilke almost 9 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.
Updated by Riccardo De Contardi almost 6 years ago
- Related to Bug #86765: Error: when creating disallowed textfile type in filelist module added
Updated by Gerrit Code Review almost 6 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
Updated by Gerrit Code Review almost 6 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
Updated by Gerrit Code Review almost 6 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
Updated by Oliver Hader almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 93941c5d1b50d9963859d91dc17bac74130690d9.
Updated by Gerrit Code Review almost 6 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
Updated by Oliver Hader almost 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset b29475820e8974fc907b79ffe13f529395961f6f.