From 97e6cec67c0c99ce1b6f0667a09f1e009100189d Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Jan 2008 21:14:32 +0000 Subject: ACLs --- httemplate/misc/payment.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'httemplate/misc/payment.cgi') diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index ce9a48beb..f99f2f068 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -217,6 +217,9 @@ function OLiframeContent(src, width, height, name) { <% include('/elements/footer.html') %> <%init> +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Process payment'); + my %type = ( 'CARD' => 'credit card', 'CHEK' => 'electronic check (ACH)', ); -- cgit v1.2.1