elFinder icon indicating copy to clipboard operation
elFinder copied to clipboard

Restrict certain types of files to be uploaded and disable making folders inside folders

Open hilarl opened this issue 14 years ago • 3 comments

i am trying to allow only images to be uploaded and restrict all other type of files and also disable the possibility to make folders inside folders thats inside the root. for example the users can make a folder in the root folder but restrict him from making a folder inside that folder. can anybody help?

thanks

hilarl avatar Jul 02 '12 06:07 hilarl

About upload study the wiki https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options#wiki-uploadAllow

You can set almost any rules using file permission https://github.com/Studio-42/elFinder/wiki/Simple-file-permissions-control

If this not enough you can implement your own permission control class using accessControl option

troex avatar Jul 02 '12 11:07 troex

thanks. also i would like to know if its possible to edit the icon size on the icon view? like since my application is only about images, it is important for the icons to be bigger in size in a way show them like thumbnails. do you know a solution for that?

hilarl avatar Jul 02 '12 12:07 hilarl

https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options#wiki-tmbSize, maybe you will have to edit css to handle bigger size.

troex avatar Jul 02 '12 16:07 troex