revolution icon indicating copy to clipboard operation
revolution copied to clipboard

[enhancement] New default media source

Open Ruslan-Aleev opened this issue 6 years ago • 2 comments

Feature request

Summary

In MODX, the FIlesystem source is set by default, but any user can see the system files in the file viewer, which is not correct (if user access is not set). And also, if the sources for TV are incorrectly set, then all uploaded files will go to the root folder, cluttering up the root, and here you can, by mistake, delete the system files with the uploaded ones.

I suggest creating a second media source and linking it to the /assets/ folder (may be /assets/uploads/) and set it as default. This folder /assets/ already in MODX and it is intended for non-system files. For example, it can also upload static files to the new source.

Ruslan-Aleev avatar Jan 24 '19 11:01 Ruslan-Aleev

@digitalpenguin I ask you to Express your point of view on how to better organize and set up a new media source. What more opinions.

Ibochkarev avatar Feb 12 '19 05:02 Ibochkarev

Considering that MODX is installed with a single admin/sudo user, I would suggest setting up an assets media source like @Ruslan-Aleev mentioned but make it the default media source rather than the filesystem root. At the moment IIRC new user groups automatically have access to the file system root unless manually configured otherwise. Perhaps by default new user groups could have access to the Assets media source but not the filesystem root. ( I could be wrong about that, I haven't had time to double check).

muzzwood avatar Feb 12 '19 05:02 muzzwood