Index: openacs-4/packages/lorsm/www/shared/add-shared-course-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/shared/Attic/add-shared-course-2.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lorsm/www/shared/add-shared-course-2.tcl 4 Sep 2004 14:51:29 -0000 1.1 +++ openacs-4/packages/lorsm/www/shared/add-shared-course-2.tcl 27 Oct 2004 07:46:54 -0000 1.2 @@ -21,6 +21,9 @@ set community_id [dotlrn_community::get_community_id] set class_key [dotlrn_community::get_community_type_from_community_id $community_id] +# Permissions +dotlrn::require_user_admin_community -user_id $user_id -community_id $community_id + # check admin permisssion for the community set admin_p [dotlrn::user_can_admin_community_p \ -user_id $user_id \