[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Archiving_Directory_Options.tex /interface lonuserutils.pm

raeburn raeburn at source.lon-capa.org
Tue Sep 3 05:07:35 EDT 2024


raeburn		Tue Sep  3 09:07:35 2024 EDT

  Added files:                 
    /loncom/html/adm/help/tex	Archiving_Directory_Options.tex 

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  - Document Archiving Options.
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.184.4.10.2.1 loncom/interface/lonuserutils.pm:1.184.4.10.2.2
--- loncom/interface/lonuserutils.pm:1.184.4.10.2.1	Sun Feb 20 19:48:31 2022
+++ loncom/interface/lonuserutils.pm	Sun Jan 22 17:21:54 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.184.4.10.2.1 2022/02/20 19:48:31 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.184.4.10.2.2 2023/01/22 17:21:54 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6114,8 +6114,9 @@
         }
     }
     my $allowed = 0;
-    foreach my $perm (values(%permission)) {
-        if ($perm) { $allowed=1; last; }
+    foreach my $key (keys(%permission)) {
+        next if (($key eq 'owner') || ($key eq 'co-owner'));
+        if ($permission{$key}) { $allowed=1; last; }
     }
     return (\%permission,$allowed);
 }

Index: loncom/html/adm/help/tex/Archiving_Directory_Options.tex
+++ loncom/html/adm/help/tex/Archiving_Directory_Options.tex
\label{Archiving_Directory_Options}
Options avaiable when exporting Authoring Spaces to an archive file
include:
\begin{itemize}
\item Whether there should be recursion in subdirectories
\item Which file types to include in the archive
\item The file format to use for the archive file: tar or zip
\item The compression format to use (gzip, bzip2 or xz) for tar archives 
\item The filename to assign to the archive file created for download
\end{itemize}




More information about the LON-CAPA-cvs mailing list