diff options
author | jeff <jeff> | 2007-02-27 22:10:25 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-02-27 22:10:25 +0000 |
commit | 27216c115fc2a2f8b76abc91be9bba599c6516fc (patch) | |
tree | 8cc1753d8237baec17bd14b3eec1faae948e5701 /httemplate/config | |
parent | 6435a77782ea506c5c140136dac1759a4e9747e3 (diff) |
put the C in ACL here, too
Diffstat (limited to 'httemplate/config')
-rw-r--r-- | httemplate/config/config-download.cgi | 4 |
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> |