diff options
author | ivan <ivan> | 2008-01-13 21:14:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-01-13 21:14:32 +0000 |
commit | 97e6cec67c0c99ce1b6f0667a09f1e009100189d (patch) | |
tree | 1d43c279a429c8284611e98e327a6049e971192d /httemplate/misc/email_invoice_events.cgi | |
parent | c223e0957b194e24dccbda5bbc29841385cc0961 (diff) |
ACLs
Diffstat (limited to 'httemplate/misc/email_invoice_events.cgi')
-rw-r--r-- | httemplate/misc/email_invoice_events.cgi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/httemplate/misc/email_invoice_events.cgi b/httemplate/misc/email_invoice_events.cgi index ba6e72c1a..d65fe172b 100644 --- a/httemplate/misc/email_invoice_events.cgi +++ b/httemplate/misc/email_invoice_events.cgi @@ -1,4 +1,9 @@ -% -%my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reemail', $cgi; -% <% $server->process %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Resend invoices'); + +my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reemail', $cgi; + +</%init> |