summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/addr_block/add.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2008-04-18 03:29:28 +0000
committerjeff <jeff>2008-04-18 03:29:28 +0000
commitd1d39ca153781e8c6f2640f9a694b2631bec3550 (patch)
treeb756f8c457b3bfb0b9391db5f47bbdc9a66fb57d /httemplate/edit/process/addr_block/add.cgi
parentf3547a0b913f2c982df13177240c6c5ba0b29231 (diff)
drag address and router even farther into the century
Diffstat (limited to 'httemplate/edit/process/addr_block/add.cgi')
-rwxr-xr-xhttemplate/edit/process/addr_block/add.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/process/addr_block/add.cgi b/httemplate/edit/process/addr_block/add.cgi
index 85780c678..e9f9b9736 100755
--- a/httemplate/edit/process/addr_block/add.cgi
+++ b/httemplate/edit/process/addr_block/add.cgi
@@ -19,3 +19,10 @@
%}
%
+<%init>
+
+my $conf = new FS::Conf;
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>