Add pages missing from the Status > Traffic Graph privilege that are required for the full page to load
This commit is contained in:
parent
ee4da773eb
commit
929dfb4cb9
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Reference in New Issue