InfinetyEs / Nova-Filemanager

A Filemanager tool for Laravel Nova
https://infinetyes.github.io/Nova-Filemanager
MIT License
219 stars 96 forks source link

Remove default "public" visibility attribute #147

Open antoniovazevedo opened 3 years ago

antoniovazevedo commented 3 years ago

Currently the visibility of the files is hard coded as public.

The config on Laravel's filesystem disks already specifies a visibility attribute. Therefore, I think it would be best for this package to leave the visibility of the files up to the disk config.

The result is files are uploaded to the disk with the visibility specified on the disk config. In the current version it is not possible to upload files with visibility set as "private", which is what I need in my use case.