Bugzilla – Attachment 107766 Details for
Bug 26017
Cashup registers never shows on tools page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26017: (follow-up) Serverside permission check on registers page
Bug-26017-follow-up-Serverside-permission-check-on.patch (text/plain), 929 bytes, created by
Martin Renvoize (ashimema)
on 2020-08-04 14:07:55 UTC
(
hide
)
Description:
Bug 26017: (follow-up) Serverside permission check on registers page
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-08-04 14:07:55 UTC
Size:
929 bytes
patch
obsolete
>From 0e2659431657c5562bd1d9f280ce9bd998499d24 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26017
:
107080
|
107197
|
107368
|
107765
| 107766