summaryrefslogtreecommitdiff
path: root/httemplate/misc/dump.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-01-13 21:14:19 +0000
committerivan <ivan>2008-01-13 21:14:19 +0000
commitf49f11d4c3c4ba9480cc5c9acfaa606a5ba73ad1 (patch)
tree2104b5d1a05433756d3b91ee436cfaa8c24ab464 /httemplate/misc/dump.cgi
parent2d53d2ebdce80d0f0dc7f75ccf506a06c2f852f9 (diff)
ACLs
Diffstat (limited to 'httemplate/misc/dump.cgi')
-rw-r--r--httemplate/misc/dump.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/misc/dump.cgi b/httemplate/misc/dump.cgi
index 486b66568..3b60b20ef 100644
--- a/httemplate/misc/dump.cgi
+++ b/httemplate/misc/dump.cgi
@@ -1,3 +1,5 @@
+% die "access denied"
+% unless $FS::CurrentUser::CurrentUser->access_right('Export');
%
% if ( driver_name =~ /^Pg$/ ) {
% my $dbname = (split(':', datasrc))[2];
@@ -16,5 +18,3 @@
% print $_;
% }
% close DUMP;
-%
-