summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/etc/inc/priv.defs.inc34
-rwxr-xr-xsrc/usr/local/www/diag_dns.php7
-rw-r--r--src/usr/local/www/diag_logs_filter_summary.php7
-rw-r--r--src/usr/local/www/diag_smart.php7
-rw-r--r--src/usr/local/www/services_rfc2136.php6
-rw-r--r--src/usr/local/www/services_rfc2136_edit.php9
-rw-r--r--src/usr/local/www/system_usermanager_settings_ldapacpicker.php7
7 files changed, 71 insertions, 6 deletions
diff --git a/src/etc/inc/priv.defs.inc b/src/etc/inc/priv.defs.inc
index a7fa7ca..ef9ad90 100644
--- a/src/etc/inc/priv.defs.inc
+++ b/src/etc/inc/priv.defs.inc
@@ -54,6 +54,12 @@ $priv_list['page-diagnostics-factorydefaults']['descr'] = gettext("Allow access
$priv_list['page-diagnostics-factorydefaults']['match'] = array();
$priv_list['page-diagnostics-factorydefaults']['match'][] = "diag_defaults.php*";
+$priv_list['page-diagnostics-dns'] = array();
+$priv_list['page-diagnostics-dns']['name'] = gettext("WebCfg - Diagnostics: DNS Lookup page");
+$priv_list['page-diagnostics-dns']['descr'] = gettext("Allow access to the 'Diagnostics: DNS Lookup' page.");
+$priv_list['page-diagnostics-dns']['match'] = array();
+$priv_list['page-diagnostics-dns']['match'][] = "diag_dns.php*";
+
$priv_list['page-diagnostics-showstates'] = array();
$priv_list['page-diagnostics-showstates']['name'] = gettext("WebCfg - Diagnostics: Show States page");
$priv_list['page-diagnostics-showstates']['descr'] = gettext("Allow access to the 'Diagnostics: Show States' page.");
@@ -120,6 +126,12 @@ $priv_list['page-diagnostics-logs-firewall-dynamic']['descr'] = gettext("Allow a
$priv_list['page-diagnostics-logs-firewall-dynamic']['match'] = array();
$priv_list['page-diagnostics-logs-firewall-dynamic']['match'][] = "diag_logs_filter_dynamic.php*";
+$priv_list['page-diagnostics-logs-firewall-summary'] = array();
+$priv_list['page-diagnostics-logs-firewall-summary']['name'] = gettext("WebCfg - Status: System Logs: Firewall Log Summary");
+$priv_list['page-diagnostics-logs-firewall-summary']['descr'] = gettext("Allow access to the 'Status: System Logs: Firewall Log Summary' page");
+$priv_list['page-diagnostics-logs-firewall-summary']['match'] = array();
+$priv_list['page-diagnostics-logs-firewall-summary']['match'][] = "diag_logs_filter_summary.php*";
+
$priv_list['page-diagnostics-logs-settings'] = array();
$priv_list['page-diagnostics-logs-settings']['name'] = gettext("WebCfg - Diagnostics: Logs: Settings page");
$priv_list['page-diagnostics-logs-settings']['descr'] = gettext("Allow access to the 'Diagnostics: Logs: Settings' page.");
@@ -180,6 +192,12 @@ $priv_list['page-diagnostics-routingtables']['descr'] = gettext("Allow access to
$priv_list['page-diagnostics-routingtables']['match'] = array();
$priv_list['page-diagnostics-routingtables']['match'][] = "diag_routes.php*";
+$priv_list['page-diagnostics-smart'] = array();
+$priv_list['page-diagnostics-smart']['name'] = gettext("WebCfg - Diagnostics: S.M.A.R.T. Monitor Tools page");
+$priv_list['page-diagnostics-smart']['descr'] = gettext("Allow access to the 'Diagnostics: S.M.A.R.T. Monitor Tools' page.");
+$priv_list['page-diagnostics-smart']['match'] = array();
+$priv_list['page-diagnostics-smart']['match'][] = "diag_smart.php*";
+
$priv_list['page-diagnostics-sockets'] = array();
$priv_list['page-diagnostics-sockets']['name'] = gettext("WebCfg - Diagnostics: Sockets page");
$priv_list['page-diagnostics-sockets']['descr'] = gettext("Allow access to the 'Diagnostics: Sockets' page.");
@@ -789,11 +807,17 @@ $priv_list['page-services-ntpd-pps']['match'] = array();
$priv_list['page-services-ntpd-pps']['match'][] = "services_ntpd_pps.php*";
$priv_list['page-services-rfc2136clients'] = array();
-$priv_list['page-services-rfc2136clients']['name'] = gettext("WebCfg - Services: RFC 2136 clients page");
-$priv_list['page-services-rfc2136clients']['descr'] = gettext("Allow access to the 'Services: RFC 2136 clients' page.");
+$priv_list['page-services-rfc2136clients']['name'] = gettext("WebCfg - Services: RFC 2136 Clients page");
+$priv_list['page-services-rfc2136clients']['descr'] = gettext("Allow access to the 'Services: RFC 2136 Clients' page.");
$priv_list['page-services-rfc2136clients']['match'] = array();
$priv_list['page-services-rfc2136clients']['match'][] = "services_rfc2136.php*";
+$priv_list['page-services-rfc2136edit'] = array();
+$priv_list['page-services-rfc2136edit']['name'] = gettext("WebCfg - Services: RFC 2136 Client: Edit page");
+$priv_list['page-services-rfc2136edit']['descr'] = gettext("Allow access to the 'Services: RFC 2136 Client: Edit' page.");
+$priv_list['page-services-rfc2136edit']['match'] = array();
+$priv_list['page-services-rfc2136edit']['match'][] = "services_rfc2136.php*";
+
$priv_list['page-services-router-advertisements'] = array();
$priv_list['page-services-router-advertisements']['name'] = gettext("WebCfg - Services: Router Advertisements page");
$priv_list['page-services-router-advertisements']['descr'] = gettext("Allow access to the 'Services: Router Advertisements' page.");
@@ -1152,6 +1176,12 @@ $priv_list['page-system-usermanager-settings']['descr'] = gettext("Allow access
$priv_list['page-system-usermanager-settings']['match'] = array();
$priv_list['page-system-usermanager-settings']['match'][] = "system_usermanager_settings.php*";
+$priv_list['page-system-usermanager-settings-ldappicker'] = array();
+$priv_list['page-system-usermanager-settings-ldappicker']['name'] = gettext("WebCfg - System: User Manager: Settings: LDAP Picker page");
+$priv_list['page-system-usermanager-settings-ldappicker']['descr'] = gettext("Allow access to the 'System: User Manager: Settings: LDAP Picker' page.");
+$priv_list['page-system-usermanager-settings-ldappicker']['match'] = array();
+$priv_list['page-system-usermanager-settings-ldappicker']['match'][] = "system_usermanager_settings_ldappicker.php*";
+
$priv_list['page-system-usermanager-settings-testldap'] = array();
$priv_list['page-system-usermanager-settings-testldap']['name'] = gettext("WebCfg - System: User Manager: Settings: Test LDAP page");
$priv_list['page-system-usermanager-settings-testldap']['descr'] = gettext("Allow access to the 'System: User Manager: Settings: Test LDAP' page.");
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index 88736bc..4da05e1 100755
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -56,6 +56,13 @@
pfSense_MODULE: dns
*/
+##|+PRIV
+##|*IDENT=page-diagnostics-dns
+##|*NAME=Diagnostics: DNS Lookup page
+##|*DESCR=Allow access to the 'Diagnostics: DNS Lookup' page.
+##|*MATCH=diag_dns.php*
+##|-PRIV
+
$pgtitle = array(gettext("Diagnostics"), gettext("DNS Lookup"));
require("guiconfig.inc");
diff --git a/src/usr/local/www/diag_logs_filter_summary.php b/src/usr/local/www/diag_logs_filter_summary.php
index 3ac7d14..78d741e 100644
--- a/src/usr/local/www/diag_logs_filter_summary.php
+++ b/src/usr/local/www/diag_logs_filter_summary.php
@@ -58,6 +58,13 @@
pfSense_MODULE: filter
*/
+##|+PRIV
+##|*IDENT=page-diagnostics-logs-firewall-summary
+##|*NAME=Status: System Logs: Firewall Log Summary
+##|*DESCR=Allow access to the 'Status: System Logs: Firewall Log Summary' page
+##|*MATCH=diag_logs_filter_summary.php*
+##|-PRIV
+
$pgtitle = gettext("Status").": ".gettext("System logs").": ".gettext("Firewall Log Summary");
$shortcut_section = "firewall";
require_once("guiconfig.inc");
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php
index 7be9888..fa8bc16 100644
--- a/src/usr/local/www/diag_smart.php
+++ b/src/usr/local/www/diag_smart.php
@@ -54,6 +54,13 @@
*
*/
+##|+PRIV
+##|*IDENT=page-diagnostics-smart
+##|*NAME=Diagnostics: S.M.A.R.T. Monitor Tools page
+##|*DESCR=Allow access to the 'Diagnostics: S.M.A.R.T. Monitor Tools' page.
+##|*MATCH=diag_smart.php*
+##|-PRIV
+
require("guiconfig.inc");
$pgtitle = array(gettext("Diagnostics"), gettext("S.M.A.R.T. Monitor Tools"));
diff --git a/src/usr/local/www/services_rfc2136.php b/src/usr/local/www/services_rfc2136.php
index dc639af..73a5269 100644
--- a/src/usr/local/www/services_rfc2136.php
+++ b/src/usr/local/www/services_rfc2136.php
@@ -58,8 +58,8 @@
##|+PRIV
##|*IDENT=page-services-rfc2136clients
-##|*NAME=Services: RFC 2136 clients page
-##|*DESCR=Allow access to the 'Services: RFC 2136 clients' page.
+##|*NAME=Services: RFC 2136 Clients page
+##|*DESCR=Allow access to the 'Services: RFC 2136 Clients' page.
##|*MATCH=services_rfc2136.php*
##|-PRIV
@@ -93,7 +93,7 @@ else if ($_GET['act'] == "toggle") {
}
}
-$pgtitle = array(gettext("Services"), gettext("RFC 2136 clients"));
+$pgtitle = array(gettext("Services"), gettext("RFC 2136 Clients"));
include("head.inc");
$tab_array = array();
diff --git a/src/usr/local/www/services_rfc2136_edit.php b/src/usr/local/www/services_rfc2136_edit.php
index 07e70f9..35264b0 100644
--- a/src/usr/local/www/services_rfc2136_edit.php
+++ b/src/usr/local/www/services_rfc2136_edit.php
@@ -56,6 +56,13 @@
pfSense_MODULE: dnsupdate
*/
+##|+PRIV
+##|*IDENT=page-services-rfc2136edit
+##|*NAME=Services: RFC 2136 Client: Edit page
+##|*DESCR=Allow access to the 'Services: RFC 2136 Client: Edit' page.
+##|*MATCH=services_rfc2136.php*
+##|-PRIV
+
require("guiconfig.inc");
if (!is_array($config['dnsupdates']['dnsupdate'])) {
@@ -153,7 +160,7 @@ if ($_POST) {
}
}
-$pgtitle = array(gettext("Services"), gettext("RFC 2136 client"), gettext("Edit"));
+$pgtitle = array(gettext("Services"), gettext("RFC 2136 Client"), gettext("Edit"));
include("head.inc");
if ($input_errors)
diff --git a/src/usr/local/www/system_usermanager_settings_ldapacpicker.php b/src/usr/local/www/system_usermanager_settings_ldapacpicker.php
index 50988df..1065976 100644
--- a/src/usr/local/www/system_usermanager_settings_ldapacpicker.php
+++ b/src/usr/local/www/system_usermanager_settings_ldapacpicker.php
@@ -56,6 +56,13 @@
pfSense_MODULE: auth
*/
+##|+PRIV
+##|*IDENT=page-system-usermanager-settings-ldappicker
+##|*NAME=System: User Manager: Settings: LDAP Picker page
+##|*DESCR=Allow access to the 'System: User Manager: Settings: LDAP Picker' page.
+##|*MATCH=system_usermanager_settings_ldappicker.php*
+##|-PRIV
+
require("guiconfig.inc");
require_once("auth.inc");
OpenPOWER on IntegriCloud