Adding in permission blocks for staff members as per previous commits.
authorRyan Higgins <rch@liblime.com>
Sat, 8 Dec 2007 23:31:57 +0000 (17:31 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 12 Dec 2007 14:02:00 +0000 (08:02 -0600)
Much of this is repeat of previous commits, and then some to finish off.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
members/deletemem.pl

index e1f8a59..a19fdc3 100755 (executable)
@@ -36,6 +36,9 @@ my $input = new CGI;
 
 my $flagsrequired;
 $flagsrequired->{borrowers}=1;
+if( $bor->{'category_type'} eq 'S' )  {
+    $flagsrequired->{'staffaccess'} = 1;
+}  
 my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired);