projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6435a77
)
put the C in ACL here, too
author
jeff
<jeff>
Tue, 27 Feb 2007 22:10:25 +0000
(22:10 +0000)
committer
jeff
<jeff>
Tue, 27 Feb 2007 22:10:25 +0000
(22:10 +0000)
httemplate/config/config-download.cgi
patch
|
blob
|
history
diff --git
a/httemplate/config/config-download.cgi
b/httemplate/config/config-download.cgi
index
d4b88de
..
95a172a
100644
(file)
--- 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);
%
%http_header('Content-Disposition' => "attachment; filename=$name" );
% print $conf->config_binary($name);
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+</%init>