You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Namespace not set in Filesystem Plugins. This causes e.g. permissions in FileManager not work for different namespaces.
Details
Relevant Bolt Version: 3.0.5 | master
Install type: Github checkout
PHP version: 5.5
Used webserver: Apache version 2.4.7
Reproduction
Use bolt master or release/3.0 branch:
Go to Bolt File Manager /bolt/files
Append a filesystem mount point to /bolt/files e.g /bolt/files/cache or /bolt/files/app
You can view files from not allowed mount points via FileManager.
Only allowed prefixes (files,theme,config) in \Bolt\Filesystem\FilePermissions should authorized.
Technical
This is caused because namespace not set in constructor of Filesystem Plugins which inherits from \Bolt\Filesystem\Plugin\AdapterPlugin. Default namespace is "files". So other namespaces are still authorized.
Solution
PR is in work.
The text was updated successfully, but these errors were encountered:
Namespace not set in Filesystem Plugins. This causes e.g. permissions in FileManager not work for different namespaces.
Details
Reproduction
Use bolt master or release/3.0 branch:
/bolt/files
/bolt/files
e.g/bolt/files/cache
or/bolt/files/app
Only allowed prefixes (files,theme,config) in
\Bolt\Filesystem\FilePermissions
should authorized.Technical
This is caused because namespace not set in constructor of Filesystem Plugins which inherits from
\Bolt\Filesystem\Plugin\AdapterPlugin
. Default namespace is "files". So other namespaces are still authorized.Solution
PR is in work.
The text was updated successfully, but these errors were encountered: