<br><font size=2><tt>opencms-dev-bounces@opencms.org wrote on 04-08-2006
16:00:26:<br>
<br>
> For example how do I do the following:<br>
> <br>
> UserA must be able to edit only /FolderA/... but read everything else<br>
> on the site.<br>
> UserB must be able to edit only /FolderB/... etc...<br>
</tt></font>
<br><font size=2><tt>1. you probably want to control access based on groups
rather than individual users,</tt></font>
<br><font size=2><tt>so create groups GroupA and GroupB based on Users.</tt></font>
<br>
<br><font size=2><tt>2. Set the permissions for the group Users on FolderA
and FolderB to read and view but</tt></font>
<br><font size=2><tt>NOT write and tell it to override inherited and inherit
on subfolders. Now both groups</tt></font>
<br><font size=2><tt>(and all others derived from Users can read everything
but not write)</tt></font>
<br>
<br><font size=2><tt>3. Set the permissions for FolderA for groupA to write,
override, inherit and do the same for</tt></font>
<br><font size=2><tt>GroupB on folder B. Now members of GroupA can write
in FolderA and members of GroupB can write</tt></font>
<br><font size=2><tt>FolderB and unless a member of either group has gotten
the rights from somewhere else she</tt></font>
<br><font size=2><tt>can't write in the other groups folder.</tt></font>
<br>
<br><font size=2><tt>The trick is to take away the rights you want to restrict
from the group the new groups are</tt></font>
<br><font size=2><tt>based on.</tt></font>
<br>
<br><font size=2><tt>Cheers,</tt></font>
<br>
<br><font size=2><tt>Carl</tt></font>