enable CardFortress in test database, #71513
[freeside.git] / httemplate / misc / fax_invoices.cgi
index b323888..a843523 100644 (file)
@@ -1,3 +1,9 @@
-<% 
+<% $server->process %>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Resend invoices');
+
 my $server = new FS::UI::Web::JSRPC 'FS::cust_bill::process_refax', $cgi;
-%><%= $server->process %>
+
+</%init>