[SECURITY] How to prevent someone to move a folder

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
michaeled
Expert Boarder
Expert Boarder
Posts: 101
Joined: Mon Apr 23, 2012 9:37 am

[SECURITY] How to prevent someone to move a folder

Post by michaeled » Mon Jan 27, 2014 12:35 pm

Hi,

I have a problem to configure the security to obtain this :
I want some users can add some files in a folder;

I try to add the write permission to the folder. But now, the users are able to move this folder into one where theay have the delete permission and after that they can delete de folder (sic!)

How to prevent users from moving a folder when they have only write access on it ?

Thanks for your help,

Michael.

jllort
Moderator
Moderator
Posts: 10767
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: [SECURITY] How to prevent someone to move a folder

Post by jllort » Thu Jan 30, 2014 5:15 pm

1- The good option should be extend security to copy and move actions.

Now, Is there any way to identify user who should not execute move actions ? some role they have not or similar. Could try with automation and minimal logic to raise and error when trying to do it. Or with less sophisticated way, detecting if somebody tries to move from some path ( minimal logic to detect it ) and reverse the action after move ( not very pleasant way for doing it, but will go right ).

Post Reply