summaryrefslogtreecommitdiffstats
path: root/etc/inc/priv
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-08-11 15:29:35 -0400
committerjim-p <jimp@pfsense.org>2011-08-11 15:29:35 -0400
commitea8eef6f762176f4d80505b8af8d5f0d8098c60b (patch)
treea348c0e38a8eabc32472418851f85db8df732f79 /etc/inc/priv
parent84d86f070e5cb358348ca1851003712ea55f7520 (diff)
downloadpfsense-ea8eef6f762176f4d80505b8af8d5f0d8098c60b.zip
pfsense-ea8eef6f762176f4d80505b8af8d5f0d8098c60b.tar.gz
Move these permissions to user.priv.inc so they don't get blasted when priv.defs.inc is automatically regenerated.
Conflicts: etc/inc/priv.defs.inc
Diffstat (limited to 'etc/inc/priv')
-rw-r--r--etc/inc/priv/user.priv.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/inc/priv/user.priv.inc b/etc/inc/priv/user.priv.inc
index bfc7f59..8df1c1a 100644
--- a/etc/inc/priv/user.priv.inc
+++ b/etc/inc/priv/user.priv.inc
@@ -2,6 +2,24 @@
global $priv_list;
+$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-dashboard-widgets'] = array();
+$priv_list['page-dashboard-widgets']['name'] = "WebCfg - System: Direct access to dashboard widgets.";
+$priv_list['page-dashboard-widgets']['descr'] = "Allow direct access to the Dashboard widget pages, required for some widgets using AJAX.";
+$priv_list['page-dashboard-widgets']['match'] = array();
+$priv_list['page-dashboard-widgets']['match'][] = "*.widget.php*";
+
$priv_list['user-shell-access'] = array();
$priv_list['user-shell-access']['name'] = "User - System - Shell account access";
$priv_list['user-shell-access']['descr'] = "Indicates whether the user is able to login for ".
OpenPOWER on IntegriCloud