--- loncom/auth/lonacc.pm 2006/08/30 16:50:23 1.94 +++ loncom/auth/lonacc.pm 2006/08/30 21:48:51 1.95 @@ -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.95 2006/08/30 21:48:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -239,7 +239,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";