X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-download.cgi;h=95a172a516ea0d4563c5beb20604f8daab750fe0;hb=0dd05e9ff98263d2d42b419b1e278a5a3bc594b2;hp=d4b88ded9341687700c50e0c929aa70a7c3654c9;hpb=fbfffdabe931d704aae420984058e61dc4196b01;p=freeside.git 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'); +