X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2FBackupPC%2FCGI%2FSummary.pm;h=a921a842e6031cd38a5ea9a6203267d5bbcf7091;hb=8c30bb82b66f26ccf7e261e2c42711251d0d6ccd;hp=fd2444cee335060cae18e270eea5402b94093bfd;hpb=8f5625f9cdf47f8e04be654c4954838b2df3e26d;p=BackupPC.git diff --git a/lib/BackupPC/CGI/Summary.pm b/lib/BackupPC/CGI/Summary.pm index fd2444c..a921a84 100644 --- a/lib/BackupPC/CGI/Summary.pm +++ b/lib/BackupPC/CGI/Summary.pm @@ -28,7 +28,7 @@ # #======================================================================== # -# Version 2.1.0beta0, released 20 Mar 2004. +# Version 2.1.0beta2, released 23 May 2004. # # See http://backuppc.sourceforge.net. # @@ -58,9 +58,8 @@ sub action $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" ) {