diff options
author | jim-p <jimp@pfsense.org> | 2011-08-10 11:05:52 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-10 11:05:52 -0400 |
commit | 9a08ea7110a47781d237b09e92948ea43f329e71 (patch) | |
tree | 7cc2880cf4df0daa3ae2b8b42350d03333700e67 | |
parent | 3861883b9a00911ecb171455087ef58d6222c29e (diff) | |
download | pfsense-9a08ea7110a47781d237b09e92948ea43f329e71.zip pfsense-9a08ea7110a47781d237b09e92948ea43f329e71.tar.gz |
Add privilege to directly access dashboard widgets if needed for ajax.
-rw-r--r-- | etc/inc/priv.defs.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc index a77057f..f1e3d84 100644 --- a/etc/inc/priv.defs.inc +++ b/etc/inc/priv.defs.inc @@ -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."; |