Bugzilla – Attachment 97780 Details for
Bug 24477
No permissions check for POS feature
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24477: Require `takepayment` permission in pos/pay.pl
Bug-24477-Require-takepayment-permission-in-pospay.patch (text/plain), 1.05 KB, created by
Katrin Fischer
on 2020-01-23 07:27:56 UTC
(
hide
)
Description:
Bug 24477: Require `takepayment` permission in pos/pay.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-01-23 07:27:56 UTC
Size:
1.05 KB
patch
obsolete
>From bccfdf96db65619990b06135f3b984175cbe179f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 22 Jan 2020 10:26:00 +0000 >Subject: [PATCH] Bug 24477: Require `takepayment` permission in pos/pay.pl > >When adding the point of sale take payment page in bug 23354 we missed >the permission check script side along with adding the permission at >install time (update was caught). > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > pos/pay.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/pos/pay.pl b/pos/pay.pl >index bb9e556e9c..fe9ee8703b 100755 >--- a/pos/pay.pl >+++ b/pos/pay.pl >@@ -26,6 +26,7 @@ my ( $template, $loggedinuser, $cookie, $user_flags ) = get_template_and_user( > query => $input, > type => 'intranet', > authnotrequired => 0, >+ flagsrequired => { cash_management => 'takepayment' }, > } > ); > my $logged_in_user = Koha::Patrons->find($loggedinuser) or die "Not logged in"; >-- >2.11.0
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 24477
:
97697
|
97727
|
97728
|
97729
|
97730
| 97780