Closed omoustaouda closed 4 years ago
With SS and the way they secure your file assets (published/unpublished) you have to have some sort of prefix so that protected assets and public assets live in different directories, allowing you to be able to configure the buckets security policy properly.
Simply setting the prefix to nothing and having everything upload to the root would cause possible issues if you have say an unpublished file with the same name as a published file. They could potentially overwrite themselves. Also if all the assets are in the same directory, technically protected (unpublished assets) could be accessed by anyone if they new the file name.
The prefix is not always used in the adapters.
This PR allows to make it optional.
an example where no prefix is used is (last line):