[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm

raeburn raeburn at source.lon-capa.org
Mon Apr 13 22:25:10 EDT 2020


raeburn		Tue Apr 14 02:25:10 2020 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - Bug 6215. Download of zip file of submissions no longer restricted to CC. 
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.176 loncom/auth/lonacc.pm:1.177
--- loncom/auth/lonacc.pm:1.176	Wed Mar  4 17:55:39 2020
+++ loncom/auth/lonacc.pm	Tue Apr 14 02:25:09 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.176 2020/03/04 17:55:39 raeburn Exp $
+# $Id: lonacc.pm,v 1.177 2020/04/14 02:25:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -613,7 +613,7 @@
         }
 # ---------------------------------------------------------------- Check access
 	my $now = time;
-	if ($requrl !~ m{^/(?:adm|public|prtspool)/}
+	if ($requrl !~ m{^/(?:adm|public|(?:prt|zip)spool)/}
 	    || $requrl =~ /^\/adm\/.*\/(smppg|bulletinboard)(\?|$ )/x) {
 	    my $access=&Apache::lonnet::allowed('bre',$requrl);
             if ($handle eq '') {




More information about the LON-CAPA-cvs mailing list