diff options
author | ivan <ivan> | 2008-01-13 21:36:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-01-13 21:36:09 +0000 |
commit | 2bee469e81f4963d83b9bf020c817dcb436a6a80 (patch) | |
tree | d3509afb4a827279a50241a7f065e0d3481052f8 /httemplate/edit/process/bulk-cust_svc.cgi | |
parent | 97e6cec67c0c99ce1b6f0667a09f1e009100189d (diff) |
ACLs
Diffstat (limited to 'httemplate/edit/process/bulk-cust_svc.cgi')
-rw-r--r-- | httemplate/edit/process/bulk-cust_svc.cgi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/httemplate/edit/process/bulk-cust_svc.cgi b/httemplate/edit/process/bulk-cust_svc.cgi index ad4d67307..313b061ff 100644 --- a/httemplate/edit/process/bulk-cust_svc.cgi +++ b/httemplate/edit/process/bulk-cust_svc.cgi @@ -1,4 +1,9 @@ -% -% my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process_bulk_cust_svc', $cgi; -% <% $server->process %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process_bulk_cust_svc', $cgi; + +</%init> |