- fixed configure.pl and makeDist.
[BackupPC.git] / lib / BackupPC / CGI / Summary.pm
index 6c7459e..dbf1325 100644 (file)
@@ -28,7 +28,7 @@
 #
 #========================================================================
 #
 #
 #========================================================================
 #
-# Version 2.1.0beta1, released 9 Apr 2004.
+# Version 3.0.0alpha, released 23 Jan 2006.
 #
 # See http://backuppc.sourceforge.net.
 #
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -58,9 +58,8 @@ sub action
         $bpc->ConfigRead($host);
         %Conf = $bpc->Conf();
 
         $bpc->ConfigRead($host);
         %Conf = $bpc->Conf();
 
-        if ( $Conf{XferMethod} eq "archive" ) {
-            next;
-        }
+        next if ( $Conf{XferMethod} eq "archive" );
+        next if ( !$Privileged && !CheckPermission($host) );
 
         for ( my $i = 0 ; $i < @Backups ; $i++ ) {
             if ( $Backups[$i]{type} eq "full" ) {
 
         for ( my $i = 0 ; $i < @Backups ; $i++ ) {
             if ( $Backups[$i]{type} eq "full" ) {