koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/circ selectbranchprinter.pl,1.3.2.4,1.3.2.5


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/circ selectbranchprinter.pl,1.3.2.4,1.3.2.5
Date: Mon, 09 Dec 2002 13:05:33 -0800

Update of /cvsroot/koha/koha/circ
In directory sc8-pr-cvs1:/tmp/cvs-serv16981/circ

Modified Files:
      Tag: rel-1-2
        selectbranchprinter.pl 
Log Message:
Added checkauth call to top of all intranet scripts.  This will allow
installations to choose to use basic authentication or Auth.pm to protect the
intranet side of Koha.  Note that all scripts require superlibrarian access by
default.


Index: selectbranchprinter.pl
===================================================================
RCS file: /cvsroot/koha/koha/circ/selectbranchprinter.pl,v
retrieving revision 1.3.2.4
retrieving revision 1.3.2.5
diff -C2 -r1.3.2.4 -r1.3.2.5
*** selectbranchprinter.pl      29 Oct 2002 16:48:52 -0000      1.3.2.4
--- selectbranchprinter.pl      9 Dec 2002 21:05:01 -0000       1.3.2.5
***************
*** 42,45 ****
--- 42,52 ----
  my %env;
  my $query=new CGI;
+ 
+ # Authentication script added, superlibrarian set as default requirement
+ 
+ my $flagsrequired;
+ $flagsrequired->{superlibrarian}=1;
+ my ($loggedinuser, $cookie, $sessionID) = checkauth($query, 0, 
$flagsrequired);
+ 
  my $branches=getbranches(\%env);
  my $printers=getprinters(\%env);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]