--- loncom/auth/lonacc.pm 2006/08/30 16:50:23 1.94 +++ loncom/auth/lonacc.pm 2006/09/05 17:33:06 1.96 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.94 2006/08/30 16:50:23 albertel Exp $ +# $Id: lonacc.pm,v 1.96 2006/09/05 17:33:06 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -44,6 +44,7 @@ sub cleanup { my ($r)=@_; if (! $r->is_initial_req()) { return DECLINED; } &Apache::lonnet::save_cache(); + &Apache::lontexconvert::jsMath_reset(); return OK; } @@ -239,7 +240,8 @@ sub handler { # ---------------------------------------------------------------- Check access my $now = time; - if ($requrl!~/^\/adm|public|prtspool\//) { + if ($requrl !~ m{^/(?:adm|public|prtspool)/} + || $requrl =~ /^\/adm\/.*\/(smppg|bulletinboard)(\?|$ )/x) { my $access=&Apache::lonnet::allowed('bre',$requrl); if ($access eq '1') { $env{'user.error.msg'}="$requrl:bre:0:0:Choose Course";