?
avatar ketihar
ketihar
15 Feb 2017

Steps to reproduce the issue

1.Create article
2.Create field type "Gallery"
3.Try to let users from frontend upload files and create gallery only on their own directory

Expected result

A "Home directory" option like the option exist on field type "Media" should be there to let the user choose if he want to restrict files upload only on user directory

Actual result

There is no option "Home directory" to change if you want to point to user directory

System information (as much as possible)

PHP Version 7.0.10
Web Server Apache/2.4.23 (Win64) PHP/7.0.10
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.7.0-beta1 Beta [ Amani ] 2-February-2017 18:53 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Additional comments

It is very important to implement this feature on field type "Gallery" .This feature already exist on field type "Media".

avatar ketihar ketihar - open - 15 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Feb 2017
avatar zero-24
zero-24 - comment - 15 Feb 2017

Currently there is the plan to remove that feature in the stable release of 3.7 because of security issues. But there is no decision yet.

avatar ketihar
ketihar - comment - 15 Feb 2017

Well, the security part is important... But this feature has a lot of practical uses on site development and will give joomla a big step forward. Restrict file upload to specific user directory, using custom fields is very logical because this way you can create sites that actually different users can upload files without permission to see others files.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14085.

avatar zero-24
zero-24 - comment - 15 Feb 2017

i know the usecase.

The other issues / PRs are:
#13893
#13878
#13582

avatar zero-24
zero-24 - comment - 23 Feb 2017

Closing as the feature is removed from the core now.

avatar zero-24 zero-24 - change - 23 Feb 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-02-23 13:15:14
Closed_By zero-24
avatar zero-24 zero-24 - close - 23 Feb 2017
avatar davidglass
davidglass - comment - 17 Apr 2019

Well, the security part is important... But this feature has a lot of practical uses on site development and will give joomla a big step forward. Restrict file upload to specific user directory, using custom fields is very logical because this way you can create sites that actually different users can upload files without permission to see others files.

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14085.

It is unfortunate what you are doing with Joomla, supposedly to improve "security" But you know what? When it is well dead in its box it will be truly safe.

avatar zero-24
zero-24 - comment - 17 Apr 2019

Please checkout: https://github.com/Bakual/CustomFieldGallery that contains the gallery field that was removed from core.

avatar zero-24
zero-24 - comment - 17 Apr 2019

Feel free open new issues with feature requests and not comment on closed issue. Please be aware that we can not implement any potential use case in the core and we have a great list of extensions adding additional features.

https://extensions.joomla.org/
https://extensions.joomla.org/tags/custom-fields/

Add a Comment

Login with GitHub to post a comment