[opencms-dev] Setting Resource Permissions programatically

Isaac R. Higgins isaac.higgins at isaacray.com
Fri Apr 20 23:57:16 CEST 2007


Hello,

I have the following line that sets permissions when creating many users and resources in a batch process:

String[] ar;
....
cms_object.chacc("/teachers/belle_haven/"+ar[i], org.opencms.security.I_CmsPrincipal.PRINCIPAL_USER, ar[i], "-d+r+w+v-c-i+o+l");

I would like to know if anyone knows how to set the "Inheret on Subfolders" option.

Thanks,
Isaac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2745 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070420/73c66522/attachment.bin>


More information about the opencms-dev mailing list