Project

General

Profile

Actions

Feature #65040

closed

Use "is_default" flag from File Stoarge for drag&drop FAL uploads

Added by Viktor Livakivskyi almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-02-12
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:

Description

Drag&drop functinality for FAL uploads works really nice, but it lacks possibility to configure default upload storage.
Yes, there is a options.defaultUploadFolder under User TSconfig, but I don't want to configure it for every admin user and each BE usergroup.
Therefore it would be nice to use an existing "Is default storage?" checkbox for this purpose in case, when options.defaultUploadFolder is empty for a BE user. And only if no storages are found with "is_default" set, the first available should be taken.

Alternative solution: make File Storages sortable in BE.

Current solution, which I'm using on production: "General Storage" is renamed to "1st General Storage" to appear first in list and this is very hacky.

Actions

Also available in: Atom PDF