simogeo / Filemanager

An open-source file manager released under MIT license. Up-to-date for PHP connector. This package is DEPRECATED. Now, please use RichFileManager available at : https://github.com/servocoder/RichFilemanager.
938 stars 351 forks source link

Feature request: Have a readonly access depending on user #394

Closed koocotte closed 8 years ago

koocotte commented 9 years ago

Hello, we use Filemanager to share some files and pictures in a nursery.

I would like to be able to use Filemanager in two different ways :

I already have both type of user, but can't fine a way in user.config.php to switch between thoses two mode.

simogeo commented 8 years ago

From now, you can use config parameter in URL. See https://github.com/simogeo/Filemanager/wiki/Passing-parameters-to-the-FM#passing-a-config-file

So, just prepare a config file with "browseOnly" parameter set to true ... and you will get this done !