Should a user be able to copy and move a folder if perms are set as Viewable ?, really ? Not in my opinion and for whom who agree with me I post a quick solution.
There is no any code change this time, its all in database, so login to your mysql or whatever you use and run two sql commands.
First command removesĀ “moving action” for the folder
delete from bh2_modulesaccesslevel where module = ‘movefolder’ and accesslevel = 1;
Second command removes “copying action” for the folder
delete from bh2_modulesaccesslevel where module = ‘copyfolder’ and accesslevel =1;
Cheers
Please do not apply bh21z.patch.2 patch. A files are not down-loadable in IE then. Its a bug in bytehoard to calculate size of the files using the same function filesize(), this func cannot calculate size of the folder. I have changed to run du unix command to get this working, but doesn’t work in lovely IE.
Apply this patch if you need to download entire folders and ONLY folders.
Sorry for inconvenience.
I have released two patches for 2.1 Zeta version. Some of the most known issues has been fixed, such us
- downloading the files via browser and email
- dropZone
- deleting folders / moving to trash
- adding users (groups related)
- Quota for folders
- groups/sharing
- calculation folders size (2nd patch only)
- …
Little issues not listed, next time I will be better with documentation, maybe some changelog ?!
Second patch “bh21z.patch.2″ for linux users only (OSX may work too, however not tested, see the source before use).
Please apply all patches in correct order. Downloads available here
Best