diff options
author | jim-p <jimp@pfsense.org> | 2011-08-11 11:59:32 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-11 11:59:32 -0400 |
commit | 72f7c8376849496e3a1b2bced91a72c9b8c56f04 (patch) | |
tree | dfb548cb1fe82eff9edb83ef4614ec3b57e3485b /etc/inc | |
parent | 3f655b442c996b7e3f933296011944593a0d8926 (diff) | |
download | pfsense-72f7c8376849496e3a1b2bced91a72c9b8c56f04.zip pfsense-72f7c8376849496e3a1b2bced91a72c9b8c56f04.tar.gz |
Add Dashboard privilege which is a collection of all required pages for the dashboard. Partial fix for ticket #620 - may do something more for 2.1
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/priv.defs.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc index 415962a..7f17897 100644 --- a/etc/inc/priv.defs.inc +++ b/etc/inc/priv.defs.inc @@ -12,6 +12,18 @@ $priv_list['page-all']['descr'] = "Allow access to all pages"; $priv_list['page-all']['match'] = array(); $priv_list['page-all']['match'][] = "*"; +$priv_list['page-dashboard-all'] = array(); +$priv_list['page-dashboard-all']['name'] = "WebCfg - Dashboard (all)"; +$priv_list['page-dashboard-all']['descr'] = "Allow access to all pages required for the dashboard."; +$priv_list['page-dashboard-all']['match'] = array(); +$priv_list['page-dashboard-all']['match'][] = "index.php*"; +$priv_list['page-dashboard-all']['match'][] = "*.widget.php*"; +$priv_list['page-dashboard-all']['match'][] = "graph.php*"; +$priv_list['page-dashboard-all']['match'][] = "graph_cpu.php*"; +$priv_list['page-dashboard-all']['match'][] = "getstats.php*"; +$priv_list['page-dashboard-all']['match'][] = "ifstats.php*"; +$priv_list['page-dashboard-all']['match'][] = "diag_logs_filter_dynamic.php*"; + $priv_list['page-status-carp'] = array(); $priv_list['page-status-carp']['name'] = "WebCfg - Status: CARP page"; $priv_list['page-status-carp']['descr'] = "Allow access to the 'Status: CARP' page."; |