Project

General

Profile

Actions

Bug #75354

closed

Missing "Select & upload files" button for editors

Added by Antoine Bouet about 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-04-01
Due date:
% Done:

0%

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

Description

Hi all :)

The "Select & upload files" button has disappeared for my editors since Typo3 7.6.4.

I created a storage with the path fileadmin/user_upload/ and a file mount attached to this.
The backend usergroup of the editors has this file mount.

That worked in Typo3 7.6 until 7.6.4.

Any idea ?
What's wrong with this configuration ?

Thanks a lot ! :)


Files

upload_file_mount.jpg (3.11 KB) upload_file_mount.jpg Antoine Bouet, 2016-04-01 11:27
Actions #1

Updated by Frans Saris about 8 years ago

  • Status changed from New to Needs Feedback

As editor do you have access to the folder in the file list module?

Actions #2

Updated by Antoine Bouet about 8 years ago

Yes, as I wrote, I created a file mount (named "Uploads") attache to a storage with fileadmin/user_upload/.

So as editor, I saw the root "Uploads" (see attached picture).
This root contains all the files that have been previously uploaded when the button was displayed.

Actions #3

Updated by Frans Saris about 8 years ago

So no new configuration/install but it just broke after an update from 7.6.3 to 7.6.4?

Actions #4

Updated by Antoine Bouet about 8 years ago

Yes, all the site that we have in 7.6.4 version have the same behaviour.

Actions #5

Updated by Riccardo De Contardi about 8 years ago

Antoine, can you tell us more about how to reproduce your problem? I am not able to reproduce it with both 7.6.6 and 8.2-dev

Plus, I feel that the correct place to dicuss this is Slack.

Actions #6

Updated by Antoine Bouet almost 8 years ago

It's very strange...
I have 3 typo3 v7.6.9. Only one have this problem ...

Can you just explain to me the right way to do this ?

Actions #7

Updated by Wouter Wolters almost 8 years ago

The user needs also a filemount to user_upload folder. Can you try this?

Actions #8

Updated by Frans Saris almost 8 years ago

Please also double check the user settings of the editor. There is a setting to allow direct upload in BE forms.

Actions #9

Updated by Antoine Bouet almost 8 years ago

Thanks for your response, but I don't see this setting in BE User Forms.

Is it a TS Config setting ?

Actions #10

Updated by Frans Saris almost 8 years ago

You find it under the tab "Edit & advanced functions" and it's labeled "File upload directly in Doc-module"

It's not in de edit BE user record but in the user settings. So in 7.6 click on the avatar in the top bar there you find the button to the user settings

Actions #11

Updated by Antoine Bouet almost 8 years ago

Thank you, it works ;)

Is there a way to configure this setting by default ?

Actions #12

Updated by Frans Saris almost 8 years ago

See https://docs.typo3.org/typo3cms/TSconfigReference/UserTsconfig/Setup/Index.html

Some userTS like setup.default.edit_docModuleUpload = 1

Actions #13

Updated by Antoine Bouet almost 8 years ago

Thanks a lot ;)

Actions #14

Updated by Oliver Hader almost 8 years ago

There's more to mention:

Given the fact, that an editor (non-admin) has only access via a dedicated file-mount to e.g. "fileadmin/my_space/" then the upload-folder needs to be defined for that user/group using User TSconfig:

options.defaultUploadFolder = fileadmin/my_space/user_upload/

Using 1:/my_space/user_upload/ here would be the preferred way to circumvent the default/zero storage...

Actions #15

Updated by Oliver Hader almost 8 years ago

We could derive a feature from that to automatically create a dedicated user's upload folder in case none is defined, like e.g. using 1:/[hashed username]/upload_folder/. Using a hashed folder name avoids information disclosure on available usernames in that regard...

Actions #16

Updated by Alexander Opitz over 7 years ago

  • Status changed from Needs Feedback to New
Actions #17

Updated by Susanne Moog about 4 years ago

  • Status changed from New to Closed

Closing here as the bug itself was no bug. If someone wants to implement the mentioned feature please open a new ticket.

Actions

Also available in: Atom PDF