From 0e2659431657c5562bd1d9f280ce9bd998499d24 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 4 Aug 2020 15:06:02 +0100 Subject: [PATCH] Bug 26017: (follow-up) Serverside permission check on registers page This patch adds a serverside permissions check for the display of the registers summary page. --- pos/registers.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/pos/registers.pl b/pos/registers.pl index 620b45dbab..c2194a2417 100755 --- a/pos/registers.pl +++ b/pos/registers.pl @@ -34,6 +34,7 @@ my ( $template, $loggedinuser, $cookie, $user_flags ) = get_template_and_user( query => $input, type => 'intranet', authnotrequired => 0, + flagsrequired => { cash_management => [ 'cashup', 'anonymous_refund' ] }, } ); my $logged_in_user = Koha::Patrons->find($loggedinuser) or die "Not logged in"; -- 2.20.1