Index: openacs-4/packages/lorsm/www/enabler.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/Attic/enabler.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lorsm/www/enabler.tcl 4 Sep 2004 14:51:21 -0000 1.1 +++ openacs-4/packages/lorsm/www/enabler.tcl 27 Oct 2004 07:46:52 -0000 1.2 @@ -16,14 +16,16 @@ } set package_id [ad_conn package_id] +set user_id [ad_conn user_id] set community_id [dotlrn_community::get_community_id] set admin_p [dotlrn::user_can_admin_community_p \ - -user_id [ad_conn user_id] \ + -user_id $user_id \ -community_id $community_id ] +# Permissions +dotlrn::require_user_admin_community -user_id $user_id -community_id $community_id - set title "Set Course Trackable" set context [list "Set Course Status"]