projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT# 77144 replace bytes_substr with Unicode::Truncate
[freeside.git]
/
httemplate
/
misc
/
dump.cgi
diff --git
a/httemplate/misc/dump.cgi
b/httemplate/misc/dump.cgi
index
486b665
..
3b60b20
100644
(file)
--- 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;
-%
-