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

Steve Tonnesen tonnesen at users.sourceforge.net
Mon Dec 9 22:05:33 CET 2002


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);





More information about the Koha-cvs mailing list