summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-08-10 11:05:52 -0400
committerjim-p <jimp@pfsense.org>2011-08-10 11:06:27 -0400
commit422ea9a8663bc15592d4532212bf2200f807e088 (patch)
tree0ad5ad3a60ce1a763b96947b795f1d9e57949c85 /etc
parent675b5fa637ae3a803f958519d3890a532422a10a (diff)
downloadpfsense-422ea9a8663bc15592d4532212bf2200f807e088.zip
pfsense-422ea9a8663bc15592d4532212bf2200f807e088.tar.gz
Add privilege to directly access dashboard widgets if needed for ajax.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/priv.defs.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index ed01678..c64bc85 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -426,6 +426,12 @@ $priv_list['page-system-login/logout']['descr'] = gettext("Allow access to the '
$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'] = gettext("WebCfg - Interfaces: WAN page");
$priv_list['page-interfaces']['descr'] = gettext("Allow access to the 'Interfaces' page.");
OpenPOWER on IntegriCloud