summaryrefslogtreecommitdiffstats
path: root/etc/inc/priv.defs.inc
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2013-02-14 20:09:38 +0200
committerWarren Baker <warren@decoy.co.za>2013-02-14 20:09:38 +0200
commit2ccc41c1c537994e10c9deb4ac061ce55edb6537 (patch)
tree09ffdf45fb2016ccb83a3c075ee8f0ca18a96ff5 /etc/inc/priv.defs.inc
parent120404e07fc2b3f8236e1874d9f570ae3c64c370 (diff)
downloadpfsense-2ccc41c1c537994e10c9deb4ac061ce55edb6537.zip
pfsense-2ccc41c1c537994e10c9deb4ac061ce55edb6537.tar.gz
Add privileges to CP 'Allowed hostnames' and fix a typo on edit IPs
Diffstat (limited to 'etc/inc/priv.defs.inc')
-rw-r--r--etc/inc/priv.defs.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index 2aa9990..ce246d9 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -702,7 +702,7 @@ $priv_list['page-services-captiveportal-editallowedhostnames'] = array();
$priv_list['page-services-captiveportal-editallowedhostnames']['name'] = gettext("WebCfg - Services: Captive portal: Edit Allowed IPs page");
$priv_list['page-services-captiveportal-editallowedhostnames']['descr'] = gettext("Allow access to the 'Services: Captive portal: Edit Allowed IPs' page.");
$priv_list['page-services-captiveportal-editallowedhostnames']['match'] = array();
-$priv_list['page-services-captiveportal-editallowedhostnames']['match'][] = "services_captiveportal_hostname_edit.php*";
+$priv_list['page-services-captiveportal-editallowedhostnames']['match'][] = "services_captiveportal_ip_edit.php*";
$priv_list['page-services-captiveportal-allowedips'] = array();
$priv_list['page-services-captiveportal-allowedips']['name'] = gettext("WebCfg - Services: Captive portal: Allowed IPs page");
@@ -728,6 +728,18 @@ $priv_list['page-services-captiveportal-editmacaddresses']['descr'] = gettext("A
$priv_list['page-services-captiveportal-editmacaddresses']['match'] = array();
$priv_list['page-services-captiveportal-editmacaddresses']['match'][] = "services_captiveportal_mac_edit.php*";
+$priv_list['page-services-captiveportal-macaddresses'] = array();
+$priv_list['page-services-captiveportal-macaddresses']['name'] = gettext("WebCfg - Services: Captive portal: Allowed Hostnames page");
+$priv_list['page-services-captiveportal-macaddresses']['descr'] = gettext("Allow access to the 'Services: Captive portal: Allowed Hostnames' page.");
+$priv_list['page-services-captiveportal-macaddresses']['match'] = array();
+$priv_list['page-services-captiveportal-macaddresses']['match'][] = "services_captiveportal_hostname.php*";
+
+$priv_list['page-services-captiveportal-editmacaddresses'] = array();
+$priv_list['page-services-captiveportal-editmacaddresses']['name'] = gettext("WebCfg - Services: Captive portal: Edit Allowed Hostnames page");
+$priv_list['page-services-captiveportal-editmacaddresses']['descr'] = gettext("Allow access to the 'Services: Captive portal: Allowed Hostnames' page.");
+$priv_list['page-services-captiveportal-editmacaddresses']['match'] = array();
+$priv_list['page-services-captiveportal-editmacaddresses']['match'][] = "services_captiveportal_hostname_edit.php*";
+
$priv_list['page-services-captiveportal-vouchers'] = array();
$priv_list['page-services-captiveportal-vouchers']['name'] = gettext("WebCfg - Services: Captive portal Vouchers page");
$priv_list['page-services-captiveportal-vouchers']['descr'] = gettext("Allow access to the 'Services: Captive portal Vouchers' page.");
OpenPOWER on IntegriCloud