Project

General

Profile

Actions

Bug #77841

closed

BE user doesn't get file upload button in inline FAL fields if the "Add Folder" permission is not set

Added by Felix Rauch over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-09-04
Due date:
% Done:

100%

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

Description

A BE user does not get the "Select & Upload files" button if they are not given the "Add Folder" permission. The "Add File" permission is not checked.

How to reproduce:
  1. Create a BE user with any mix of file operation permissions, as long as the "Folder/Directory Add" permission is not given.
  2. As the BE user, create a CE of the type "Text and Media".
  3. Switch to the "Media" tab in the CE form
  4. The button is not visible. Via the "Add media" button, files can still be uploaded.

This issue is also present in version 7LTS, a backport should be fairly straightforward.


Related issues 1 (0 open1 closed)

Blocked by TYPO3 Core - Bug #77856: BackendUserAuthentication::getDefaultUploadFolder checks the wrong permission flagClosed2016-09-05

Actions
Actions #1

Updated by Felix Rauch over 7 years ago

I have a bugfix prepared for this. Will push the review once the mobile internet stabilizes.

Actions #2

Updated by Frans Saris over 7 years ago

Hi Felix,

tnx for picking this up! Waiting for you patch :)

Actions #3

Updated by Gerrit Code Review over 7 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/49867

Actions #4

Updated by Gerrit Code Review over 7 years ago

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

Actions #5

Updated by Felix Rauch over 7 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF