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.2 -r1.3 --- openacs-4/packages/acs-subsite/www/permissions/perm-user-add-2.tcl 28 Aug 2003 09:41:41 -0000 1.2 +++ openacs-4/packages/acs-subsite/www/permissions/perm-user-add-2.tcl 27 Oct 2014 16:39:59 -0000 1.3 @@ -1,10 +1,10 @@ ad_page_contract {} { - object_id - user_id:multiple,integer + object_id:naturalnum,notnull + user_id:multiple,naturalnum return_url } -ad_require_permission $object_id admin +permission::require_permission -object_id $object_id -privilege admin db_transaction { foreach one_user_id $user_id {