summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/cacti_graphs.cgi
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-04-06 22:01:05 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-04-06 22:01:05 -0500
commit9cfdddf49df7d5f47691ca467d9fbae51bfd71a0 (patch)
treecedc5524f5dfeeb026e51da1da6834db876d7938 /httemplate/misc/process/cacti_graphs.cgi
parentfe529fcf74225297231dc3678594166720721205 (diff)
RT#18834: Cacti integration [database storage]
Diffstat (limited to 'httemplate/misc/process/cacti_graphs.cgi')
-rw-r--r--httemplate/misc/process/cacti_graphs.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/misc/process/cacti_graphs.cgi b/httemplate/misc/process/cacti_graphs.cgi
index 160b1ad85..f2baeb455 100644
--- a/httemplate/misc/process/cacti_graphs.cgi
+++ b/httemplate/misc/process/cacti_graphs.cgi
@@ -1,6 +1,9 @@
<% $server->process %>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('View customer services');
+
my $server = FS::UI::Web::JSRPC->new('FS::part_export::cacti::process_graphs', $cgi);
</%init>