diff options
author | jim-p <jimp@pfsense.org> | 2015-11-25 11:31:27 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-11-25 11:31:27 -0500 |
commit | a57d9fa2139437fd30dedc3c744e15174c7cd3cd (patch) | |
tree | 1d1824d52a9e9ef76aa160ee2a79219e2fdfd3e9 /src/usr/local | |
parent | 0b8328c54fcbfaec70dfc4710a419daf1be72ee9 (diff) | |
download | pfsense-a57d9fa2139437fd30dedc3c744e15174c7cd3cd.zip pfsense-a57d9fa2139437fd30dedc3c744e15174c7cd3cd.tar.gz |
Add some missing privileges to pages
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/www/diag_dns.php | 7 | ||||
-rw-r--r-- | src/usr/local/www/diag_logs_filter_summary.php | 7 | ||||
-rw-r--r-- | src/usr/local/www/diag_smart.php | 7 | ||||
-rw-r--r-- | src/usr/local/www/services_rfc2136.php | 6 | ||||
-rw-r--r-- | src/usr/local/www/services_rfc2136_edit.php | 9 | ||||
-rw-r--r-- | src/usr/local/www/system_usermanager_settings_ldapacpicker.php | 7 |
6 files changed, 39 insertions, 4 deletions
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"); |