[Koha-cvs] CVS: koha/marc viewmarc.pl,1.2.2.1,1.2.2.2

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


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

Modified Files:
      Tag: rel-1-2
	viewmarc.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: viewmarc.pl
===================================================================
RCS file: /cvsroot/koha/koha/marc/Attic/viewmarc.pl,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** viewmarc.pl	14 Jun 2002 21:20:28 -0000	1.2.2.1
--- viewmarc.pl	9 Dec 2002 21:05:02 -0000	1.2.2.2
***************
*** 18,21 ****
--- 18,28 ----
  
  my $input = new CGI;
+ 
+ # Authentication script added, superlibrarian set as default requirement
+ 
+ my $flagsrequired;
+ $flagsrequired->{superlibrarian}=1;
+ my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired);
+ 
  my $dbh=C4Connect;
  my $fields;





More information about the Koha-cvs mailing list