Forum .LRN Q&A: Change permissions by defect

Collapse
Posted by Dario Roig on
Hi!

Would I to make that for defect the members of a group could write in the folder public documents of their group (Class or Clubs)?

Where it should change these permissions?

Thanks

Collapse
Posted by Rocael Hernández Rizzardini on
http://cvs.openacs.org/cvs/openacs-4/packages/dotlrn-fs/tcl/dotlrn-fs-procs.tcl?rev=1.86.6.14&only_with_tag=oacs-5-1&view=auto

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)

Collapse
Posted by Dario Roig on
Hi Rocael!

we have add the code that you tell us and it works.

Thanks.