Bugzilla – Attachment 97733 Details for
Bug 24478
Make it possible to deactivate point of sale
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.18 KB, created by
ByWater Sandboxes
on 2020-01-22 14:05:34 UTC
(
hide
)
Description:
Bug 24477: Require `takepayment` permission in pos/pay.pl
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-01-22 14:05:34 UTC
Size:
1.18 KB
patch
obsolete
>From 2e9d9025da5396e655037ac2b003bd26685f6ea9 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> > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> > >https://bugs.koha-community.org/show_bug.cgi?id=24478 >--- > 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 24478
:
97702
|
97703
|
97732
|
97733
|
97762
|
97763
|
97764