summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/addr_block/deallocate.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/addr_block/deallocate.cgi')
-rwxr-xr-xhttemplate/edit/process/addr_block/deallocate.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/process/addr_block/deallocate.cgi b/httemplate/edit/process/addr_block/deallocate.cgi
index 494c19f75..95e1b7e4d 100755
--- a/httemplate/edit/process/addr_block/deallocate.cgi
+++ b/httemplate/edit/process/addr_block/deallocate.cgi
@@ -23,3 +23,10 @@
%}
%
+<%init>
+
+my $conf = new FS::Conf;
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>