[opencms-dev] How to copy a write-protected resource?

Claus Priisholm cpr at codedroids.com
Thu Mar 23 15:17:26 CET 2006


Trying to make a setup such that UserA and UserB (both have User as 
parent group) each have their own folder:

/A/ - UserA all rights, User got write/control rights removed and set to 
overwrite inherited (i.e. rights are not explicitly denied).

/B/ - same thing for UserB.

So UserB cannot edit say /A/index.html and vice versa. This works as 
expected.

Now, in the actual setup it is necessary for UserB to be able to copy 
say /A/index.html to /B/index.html. But he cannot - I assume it fails 
because the copy function attempts to lock /A/index.html, and locking 
seems to be considered a write operation.

Giving UserB write-permissions to /A/ would undermine the separation 
that is needed.

Any suggestion for a workaround?

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
--
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms



More information about the opencms-dev mailing list