Index: openacs-4/packages/dotlrn/www/members.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/members.tcl,v diff -u -r1.23.2.5 -r1.23.2.6 --- openacs-4/packages/dotlrn/www/members.tcl 1 Sep 2005 05:58:57 -0000 1.23.2.5 +++ openacs-4/packages/dotlrn/www/members.tcl 4 Sep 2005 13:11:39 -0000 1.23.2.6 @@ -42,6 +42,15 @@ set admin_p 1 } +# make it so that only course admins +# and site wide admins can read this page +if { !$admin_p } { + ad_return_forbidden "Permission Denied" "
+ You don't have permission to view this page. +" + ad_script_abort +} + if {$admin_p} { set add_member_url [export_vars -base user-add { {can_browse_p 1} {read_private_data_p t} {referer $return_url} }] }