summaryrefslogtreecommitdiff
path: root/httemplate/browse/addr_block.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/addr_block.cgi')
-rw-r--r--httemplate/browse/addr_block.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/browse/addr_block.cgi b/httemplate/browse/addr_block.cgi
index 87f46c0e7..408d57298 100644
--- a/httemplate/browse/addr_block.cgi
+++ b/httemplate/browse/addr_block.cgi
@@ -80,4 +80,7 @@
</TABLE>
</BODY>
</HTML>
-
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+</%init>