summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/config/config-download.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/config/config-download.cgi b/httemplate/config/config-download.cgi
index d4b88ded9..95a172a51 100644
--- a/httemplate/config/config-download.cgi
+++ b/httemplate/config/config-download.cgi
@@ -12,3 +12,7 @@
%
%http_header('Content-Disposition' => "attachment; filename=$name" );
% print $conf->config_binary($name);
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+</%init>