summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-19 17:13:31 +0545
committerRenato Botelho <renato@netgate.com>2017-01-19 10:28:55 -0200
commitb1894db187b499fe5142b2002cb50e5dd7902e54 (patch)
treeb6bc070ec6ea6986fab35ecaa39db1029d6a1dd8 /src
parent5a1afaa6d480fa4477ec507f44981834a2abb225 (diff)
downloadpfsense-b1894db187b499fe5142b2002cb50e5dd7902e54.zip
pfsense-b1894db187b499fe5142b2002cb50e5dd7902e54.tar.gz
Fix #7141 Add a priv for UPNP
so users can grant access to Services->UPNP Note: Status->UPNP already has a priv and it works. (cherry picked from commit a5a899e4388f2737a6d1cdc82c7325c20fb72ee4)
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/priv/user.priv.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/inc/priv/user.priv.inc b/src/etc/inc/priv/user.priv.inc
index c01a78b..cb84349 100644
--- a/src/etc/inc/priv/user.priv.inc
+++ b/src/etc/inc/priv/user.priv.inc
@@ -140,4 +140,10 @@ $priv_list['page-status-systemlogs-wireless']['descr'] = gettext("Allow access t
$priv_list['page-status-systemlogs-wireless']['match'] = array();
$priv_list['page-status-systemlogs-wireless']['match'][] = "status_logs.php?logfile=wireless";
+$priv_list['page-services-upnp'] = array();
+$priv_list['page-services-upnp']['name'] = gettext("WebCfg - Services: UPnP");
+$priv_list['page-services-upnp']['descr'] = gettext("Allow access to the 'Services: UPnP' page.");
+$priv_list['page-services-upnp']['match'] = array();
+$priv_list['page-services-upnp']['match'][] = "pkg_edit.php?xml=miniupnpd.xml";
+
?>
OpenPOWER on IntegriCloud