summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-19 15:37:08 +0545
committerRenato Botelho <renato@netgate.com>2017-01-19 10:27:39 -0200
commit5a1afaa6d480fa4477ec507f44981834a2abb225 (patch)
tree68d98952b072b7330cfbd6b352e0a856edc23b9c /src/etc
parent9f8751b5c2426a4932cb813dae33198961ccff4b (diff)
downloadpfsense-5a1afaa6d480fa4477ec507f44981834a2abb225.zip
pfsense-5a1afaa6d480fa4477ec507f44981834a2abb225.tar.gz
Fix #7139 Accessing help about this page
from a user that does not have admin or all page privilege. (cherry picked from commit 166540830275318c8dec9199d8a9ee0e605f606a)
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/priv/user.priv.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/priv/user.priv.inc b/src/etc/inc/priv/user.priv.inc
index c14641e..c01a78b 100644
--- a/src/etc/inc/priv/user.priv.inc
+++ b/src/etc/inc/priv/user.priv.inc
@@ -10,7 +10,7 @@ $priv_list['page-help-all'] = array();
$priv_list['page-help-all']['name'] = gettext("WebCfg - Help pages");
$priv_list['page-help-all']['descr'] = gettext("Show all items on help menu and allow access to Help shortcut links");
$priv_list['page-help-all']['match'] = array();
-$priv_list['page-help-all']['match'][] = "*help.php";
+$priv_list['page-help-all']['match'][] = "help.php*";
$priv_list['page-dashboard-all'] = array();
$priv_list['page-dashboard-all']['name'] = gettext("WebCfg - Dashboard (all)");
OpenPOWER on IntegriCloud