Bugzilla – Attachment 97730 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.06 KB, created by
ByWater Sandboxes
on 2020-01-22 14:04:27 UTC
(
hide
)
Description:
Bug 24477: Require `takepayment` permission in pos/pay.pl
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-01-22 14:04:27 UTC
Size:
1.06 KB
patch
obsolete
>From 83b60c8d1c97bda2c5ce77231ddbe4327ed31ede 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: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >--- > 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