Index: openacs-4/packages/acs-subsite/www/permissions/perm-user-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/permissions/perm-user-add-2.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-subsite/www/permissions/perm-user-add-2.tcl 5 Jan 2018 22:40:56 -0000 1.5 +++ openacs-4/packages/acs-subsite/www/permissions/perm-user-add-2.tcl 3 Sep 2024 15:37:34 -0000 1.6 @@ -8,10 +8,11 @@ db_transaction { foreach one_user_id $user_id { - db_exec_plsql add_user {} + permission::grant -party_id $one_user_id -object_id $object_id -privilege "read" } } on_error { ad_return_complaint 1 "We had a problem adding the users you selected. Sorry." + ad_script_abort } ad_returnredirect $return_url