summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-09-11 13:22:24 -0400
committerjim-p <jimp@pfsense.org>2014-09-11 13:23:21 -0400
commit8a2f80b212956f7d35896a83d87053619e850276 (patch)
tree98ebeb36f0bbe535d507a96b3dcb9ecfb1e26e54
parent048dd7b9d7ffb57ea6a932c9b0f3d268ac2a470c (diff)
downloadpfsense-8a2f80b212956f7d35896a83d87053619e850276.zip
pfsense-8a2f80b212956f7d35896a83d87053619e850276.tar.gz
Add pages missing from the Status > Traffic Graph privilege that are required for the full page to load
-rw-r--r--etc/inc/priv.defs.inc2
-rw-r--r--usr/local/www/status_graph.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index afad6ae..5b8ae15 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -1040,6 +1040,8 @@ $priv_list['page-status-trafficgraph']['descr'] = gettext("Allow access to the '
$priv_list['page-status-trafficgraph']['match'] = array();
$priv_list['page-status-trafficgraph']['match'][] = "status_graph.php*";
$priv_list['page-status-trafficgraph']['match'][] = "bandwidth_by_ip.php*";
+$priv_list['page-status-trafficgraph']['match'][] = "graph.php*";
+$priv_list['page-status-trafficgraph']['match'][] = "ifstats.php*";
$priv_list['page-status-cpuload'] = array();
$priv_list['page-status-cpuload']['name'] = gettext("WebCfg - Status: CPU load page");
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index 1ee1251..7457804 100644
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -41,6 +41,8 @@
##|*DESCR=Allow access to the 'Status: Traffic Graph' page.
##|*MATCH=status_graph.php*
##|*MATCH=bandwidth_by_ip.php*
+##|*MATCH=graph.php*
+##|*MATCH=ifstats.php*
##|-PRIV
require("guiconfig.inc");
OpenPOWER on IntegriCloud