and add a line like this: permission::grant -party_id $members -object_id $a_folder_id -privilege write
(this will only work at the installation of the applet for a given class, if you already created the class, you can make an script to do that as well)
we have add the code that you tell us and it works.
Thanks.