Add privilege to directly access dashboard widgets if needed for ajax.

This commit is contained in:
jim-p 2011-08-10 11:05:52 -04:00
parent 3861883b9a
commit 9a08ea7110

View File

@ -426,6 +426,12 @@ $priv_list['page-system-login/logout']['descr'] = "Allow access to the 'System:
$priv_list['page-system-login/logout']['match'] = array();
$priv_list['page-system-login/logout']['match'][] = "index.php*";
$priv_list['page-system-login/logout'] = array();
$priv_list['page-system-login/logout']['name'] = "WebCfg - System: Direct access to dashboard widgets.";
$priv_list['page-system-login/logout']['descr'] = "Allow direct access to the Dashboard widget pages, required for some widgets using AJAX.";
$priv_list['page-system-login/logout']['match'] = array();
$priv_list['page-system-login/logout']['match'][] = "*.widget.php*";
$priv_list['page-interfaces'] = array();
$priv_list['page-interfaces']['name'] = "WebCfg - Interfaces: WAN page";
$priv_list['page-interfaces']['descr'] = "Allow access to the 'Interfaces' page.";