summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/batch-cust_pay.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/process/batch-cust_pay.cgi')
-rw-r--r--httemplate/misc/process/batch-cust_pay.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/misc/process/batch-cust_pay.cgi b/httemplate/misc/process/batch-cust_pay.cgi
index e4d1bbff5..058a2251a 100644
--- a/httemplate/misc/process/batch-cust_pay.cgi
+++ b/httemplate/misc/process/batch-cust_pay.cgi
@@ -1,3 +1,5 @@
+% die "access denied"
+% unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch');
%
% my $param = $cgi->Vars;
%