[freeside-commits] freeside/httemplate/config config-download.cgi, 1.1, 1.2

Jeff Finucane,420,, jeff at wavetail.420.am
Tue Feb 27 14:10:28 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/config
In directory wavetail:/tmp/cvs-serv3382

Modified Files:
	config-download.cgi 
Log Message:
put the C in ACL here, too

Index: config-download.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/config/config-download.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- config-download.cgi	27 Feb 2007 01:48:07 -0000	1.1
+++ config-download.cgi	27 Feb 2007 22:10:25 -0000	1.2
@@ -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>



More information about the freeside-commits mailing list