summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-09-30 22:49:38 -0700
committerMark Wells <mark@freeside.biz>2015-09-30 22:50:00 -0700
commitf485dcdf05ee107645299197a9ab9d9dd3f22be3 (patch)
tree541d64f13a8ebd4a2d448295a68182a58de63fb2 /httemplate/misc
parent9e99a610a2c69db3ab9f42728ab6dbf492a5496a (diff)
graphical selection of deployment zones and automatic block lookup, #30260
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/process/deploy_zone-block_lookup.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/misc/process/deploy_zone-block_lookup.cgi b/httemplate/misc/process/deploy_zone-block_lookup.cgi
new file mode 100644
index 000000000..8f4eac7e9
--- /dev/null
+++ b/httemplate/misc/process/deploy_zone-block_lookup.cgi
@@ -0,0 +1,13 @@
+<% $server->process %>
+<%init>
+my $curuser = $FS::CurrentUser::CurrentUser;
+die "access denied"
+ unless $curuser->access_right([
+ 'Edit FCC report configuration',
+ 'Edit FCC report configuration for all agents',
+ ]);
+
+my $server = FS::UI::Web::JSRPC->new(
+ 'FS::deploy_zone::process_block_lookup', $cgi
+);
+</%init>