From 7e5eb3846eb4388d6c72a7916ebc2a7955f52c55 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Sat, 8 Dec 2007 17:31:57 -0600 Subject: [PATCH] Adding in permission blocks for staff members as per previous commits. Much of this is repeat of previous commits, and then some to finish off. Signed-off-by: Joshua Ferraro --- members/deletemem.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/members/deletemem.pl b/members/deletemem.pl index e1f8a59e62..a19fdc302d 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -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); -- 2.39.5