Archive

Archive for December, 2009

Viewable Permissions

December 8th, 2009 misiek303 No comments

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

Categories: Uncategorized Tags: