diff options
author | jim-p <jimp@netgate.com> | 2019-02-21 11:18:46 -0500 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-02-21 11:19:25 -0500 |
commit | a1032feb97b2f26a0505fa24f6b0fafc4ce1369b (patch) | |
tree | 6550897edc0cfdc54846387f9cbbb8ebb0df12b0 | |
parent | ac3309d55a1dea815dc4acb47bd73970eaa96e08 (diff) | |
download | pfsense-a1032feb97b2f26a0505fa24f6b0fafc4ce1369b.zip pfsense-a1032feb97b2f26a0505fa24f6b0fafc4ce1369b.tar.gz |
Update privileges
(cherry picked from commit 3b3e31c248b8185372251f8bd2fbc2a95652a7ec)
-rw-r--r-- | src/etc/inc/priv.defs.inc | 24 | ||||
-rw-r--r-- | src/usr/local/www/interfaces_vlan.php | 2 |
2 files changed, 19 insertions, 7 deletions
diff --git a/src/etc/inc/priv.defs.inc b/src/etc/inc/priv.defs.inc index 349b6bb..ba93686 100644 --- a/src/etc/inc/priv.defs.inc +++ b/src/etc/inc/priv.defs.inc @@ -332,6 +332,12 @@ $priv_list['page-firewall-virtualipaddress-edit']['descr'] = gettext("Allow acce $priv_list['page-firewall-virtualipaddress-edit']['match'] = array(); $priv_list['page-firewall-virtualipaddress-edit']['match'][] = "firewall_virtual_ip_edit.php*"; +$priv_list['page-getqueuestats'] = array(); +$priv_list['page-getqueuestats']['name'] = gettext("WebCfg - AJAX: Get Queue Stats"); +$priv_list['page-getqueuestats']['descr'] = gettext("Allow access to the 'AJAX: Get Stats' page."); +$priv_list['page-getqueuestats']['match'] = array(); +$priv_list['page-getqueuestats']['match'][] = "getqueuestats.php*"; + $priv_list['page-getserviceproviders'] = array(); $priv_list['page-getserviceproviders']['name'] = gettext("WebCfg - AJAX: Get Service Providers"); $priv_list['page-getserviceproviders']['descr'] = gettext("Allow access to the 'AJAX: Service Providers' page."); @@ -489,12 +495,6 @@ $priv_list['page-interfaces-wireless-edit']['descr'] = gettext("Allow access to $priv_list['page-interfaces-wireless-edit']['match'] = array(); $priv_list['page-interfaces-wireless-edit']['match'][] = "interfaces_wireless_edit.php*"; -$priv_list['page-system-license'] = array(); -$priv_list['page-system-license']['name'] = gettext("WebCfg - System: License"); -$priv_list['page-system-license']['descr'] = gettext("Allow access to the 'System: License' page."); -$priv_list['page-system-license']['match'] = array(); -$priv_list['page-system-license']['match'][] = "license.php*"; - $priv_list['page-services-loadbalancer-monitor'] = array(); $priv_list['page-services-loadbalancer-monitor']['name'] = gettext("WebCfg - Services: Load Balancer: Monitors"); $priv_list['page-services-loadbalancer-monitor']['descr'] = gettext("Allow access to the 'Services: Load Balancer: Monitors' page."); @@ -567,6 +567,12 @@ $priv_list['page-system-packagemanager-installed']['descr'] = gettext("Allow acc $priv_list['page-system-packagemanager-installed']['match'] = array(); $priv_list['page-system-packagemanager-installed']['match'][] = "pkg_mgr_installed.php*"; +$priv_list['page-system-autoconfigbackup'] = array(); +$priv_list['page-system-autoconfigbackup']['name'] = gettext("WebCfg - System: Auto COnfig Backup"); +$priv_list['page-system-autoconfigbackup']['descr'] = gettext("Configure the auto config backup system."); +$priv_list['page-system-autoconfigbackup']['match'] = array(); +$priv_list['page-system-autoconfigbackup']['match'][] = "autoconfigbackup-settings.php*"; + $priv_list['page-services-captiveportal'] = array(); $priv_list['page-services-captiveportal']['name'] = gettext("WebCfg - Services: Captive Portal"); $priv_list['page-services-captiveportal']['descr'] = gettext("Allow access to the 'Services: Captive Portal' page."); @@ -1026,6 +1032,12 @@ $priv_list['page-status-services']['descr'] = gettext("Allow access to the 'Stat $priv_list['page-status-services']['match'] = array(); $priv_list['page-status-services']['match'][] = "status_services.php*"; +$priv_list['page-status-dns-resolver'] = array(); +$priv_list['page-status-dns-resolver']['name'] = gettext("WebCfg - Status: DNS Resolver"); +$priv_list['page-status-dns-resolver']['descr'] = gettext("Allow access to the 'Status: DNS Resolver' page."); +$priv_list['page-status-dns-resolver']['match'] = array(); +$priv_list['page-status-dns-resolver']['match'][] = "status_unbound.php*"; + $priv_list['page-status-upnpstatus'] = array(); $priv_list['page-status-upnpstatus']['name'] = gettext("WebCfg - Status: UPnP Status"); $priv_list['page-status-upnpstatus']['descr'] = gettext("Allow access to the 'Status: UPnP Status' page."); diff --git a/src/usr/local/www/interfaces_vlan.php b/src/usr/local/www/interfaces_vlan.php index b0a53c9..25b5addf 100644 --- a/src/usr/local/www/interfaces_vlan.php +++ b/src/usr/local/www/interfaces_vlan.php @@ -27,7 +27,7 @@ ##|*IDENT=page-interfaces-vlan ##|*NAME=Interfaces: VLAN ##|*DESCR=Allow access to the 'Interfaces: VLAN' page. -##|*MATCH=interfaces_vlan_new_prof.php* +##|*MATCH=interfaces_vlan.php* ##|-PRIV require_once("guiconfig.inc"); |