Add pages missing from the Status > Traffic Graph privilege that are required for the full page to load

This commit is contained in:
jim-p 2014-09-11 13:22:24 -04:00
parent ee4da773eb
commit 929dfb4cb9
2 changed files with 4 additions and 0 deletions

View File

@ -992,6 +992,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");

View File

@ -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");