Commit d83563fa authored by Franco Fichtner's avatar Franco Fichtner

ntpd: acl and menu

parent a90efa28
...@@ -450,6 +450,8 @@ ...@@ -450,6 +450,8 @@
/usr/local/opnsense/mvc/app/models/OPNsense/IDS/Migrations/M1_0_0.php /usr/local/opnsense/mvc/app/models/OPNsense/IDS/Migrations/M1_0_0.php
/usr/local/opnsense/mvc/app/models/OPNsense/IGMPProxy/ACL/ACL.xml /usr/local/opnsense/mvc/app/models/OPNsense/IGMPProxy/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/IGMPProxy/Menu/Menu.xml /usr/local/opnsense/mvc/app/models/OPNsense/IGMPProxy/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Ntpd/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Ntpd/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Proxy/ACL/ACL.xml /usr/local/opnsense/mvc/app/models/OPNsense/Proxy/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Proxy/Menu/Menu.xml /usr/local/opnsense/mvc/app/models/OPNsense/Proxy/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Proxy/Migrations/M1_0_0.php /usr/local/opnsense/mvc/app/models/OPNsense/Proxy/Migrations/M1_0_0.php
......
...@@ -255,13 +255,6 @@ ...@@ -255,13 +255,6 @@
<Lookup order="40" url="/diag_dns.php"/> <Lookup order="40" url="/diag_dns.php"/>
<LogFile order="100" VisibleName="Log File" url="/diag_logs_resolver.php"/> <LogFile order="100" VisibleName="Log File" url="/diag_logs_resolver.php"/>
</DNSTools> </DNSTools>
<NTP VisibleName="Network Time" cssClass="fa fa-clock-o fa-fw">
<General order="10" url="/services_ntpd.php"/>
<GPS order="20" url="/services_ntpd_gps.php"/>
<PPS order="30" url="/services_ntpd_pps.php"/>
<Status order="40" url="/status_ntpd.php"/>
<Log order="50" VisibleName="Log File" url="/diag_logs_ntpd.php"/>
</NTP>
<WoL VisibleName="Wake on LAN" url="/services_wol.php" cssClass="fa fa-power-off fa-fw"> <WoL VisibleName="Wake on LAN" url="/services_wol.php" cssClass="fa fa-power-off fa-fw">
<WoLEdit url="/services_wol_edit.php*" visibility="hidden"/> <WoLEdit url="/services_wol_edit.php*" visibility="hidden"/>
<Wol url="/services_wol.php*" visibility="hidden"/> <Wol url="/services_wol.php*" visibility="hidden"/>
......
...@@ -644,13 +644,6 @@ ...@@ -644,13 +644,6 @@
<pattern>services_dyndns.php*</pattern> <pattern>services_dyndns.php*</pattern>
</patterns> </patterns>
</page-services-dynamicdnsclients> </page-services-dynamicdnsclients>
<page-services-ntpd>
<name>WebCfg - Services: NTP</name>
<description>Allow access to the 'Services: NTP' page.</description>
<patterns>
<pattern>services_ntpd.php*</pattern>
</patterns>
</page-services-ntpd>
<page-services-rfc2136clients> <page-services-rfc2136clients>
<name>WebCfg - Services: RFC 2136 clients page</name> <name>WebCfg - Services: RFC 2136 clients page</name>
<description>Allow access to the 'Services: RFC 2136 clients' page.</description> <description>Allow access to the 'Services: RFC 2136 clients' page.</description>
...@@ -763,27 +756,6 @@ ...@@ -763,27 +756,6 @@
<pattern>diag_ipsec_spd.php*</pattern> <pattern>diag_ipsec_spd.php*</pattern>
</patterns> </patterns>
</page-status-ipsec-spd> </page-status-ipsec-spd>
<page-services-ntp-gps>
<name>WebCfg - Status: NTP GPS page</name>
<description>Allow access to the 'Status: NTP Serial GPS' page.</description>
<patterns>
<pattern>status_ntpd_gps.php*</pattern>
</patterns>
</page-services-ntp-gps>
<page-status-ntp>
<name>WebCfg - Status: NTP page</name>
<description>Allow access to the 'Status: NTP' page.</description>
<patterns>
<pattern>status_ntpd.php*</pattern>
</patterns>
</page-status-ntp>
<page-services-ntp-pps>
<name>WebCfg - Status: NTP PPS page</name>
<description>Allow access to the 'Status: NTP PPS' page.</description>
<patterns>
<pattern>status_ntpd_pps.php*</pattern>
</patterns>
</page-services-ntp-pps>
<page-status-openvpn> <page-status-openvpn>
<name>WebCfg - Status: OpenVPN page</name> <name>WebCfg - Status: OpenVPN page</name>
<description>Allow access to the 'Status: OpenVPN' page.</description> <description>Allow access to the 'Status: OpenVPN' page.</description>
...@@ -819,13 +791,6 @@ ...@@ -819,13 +791,6 @@
<pattern>diag_logs_ppp.php*</pattern> <pattern>diag_logs_ppp.php*</pattern>
</patterns> </patterns>
</page-status-systemlogs-ppp> </page-status-systemlogs-ppp>
<page-status-systemlogs-ntpd>
<name>WebCfg - Status: System logs: NTP page</name>
<description>Allow access to the 'Status: System logs: NTP' page.</description>
<patterns>
<pattern>diag_logs_ntpd.php*</pattern>
</patterns>
</page-status-systemlogs-ntpd>
<page-status-systemlogs-openvpn> <page-status-systemlogs-openvpn>
<name>WebCfg - Status: System logs: OpenVPN page</name> <name>WebCfg - Status: System logs: OpenVPN page</name>
<description>Allow access to the 'Status: System logs: OpenVPN' page.</description> <description>Allow access to the 'Status: System logs: OpenVPN' page.</description>
......
<acl>
<page-services-ntpd>
<name>WebCfg - Services: NTP</name>
<description>Allow access to the 'Services: NTP' page.</description>
<patterns>
<pattern>services_ntpd.php*</pattern>
</patterns>
</page-services-ntpd>
<page-services-ntp-gps>
<name>WebCfg - Status: NTP GPS page</name>
<description>Allow access to the 'Status: NTP Serial GPS' page.</description>
<patterns>
<pattern>status_ntpd_gps.php*</pattern>
</patterns>
</page-services-ntp-gps>
<page-status-ntp>
<name>WebCfg - Status: NTP page</name>
<description>Allow access to the 'Status: NTP' page.</description>
<patterns>
<pattern>status_ntpd.php*</pattern>
</patterns>
</page-status-ntp>
<page-services-ntp-pps>
<name>WebCfg - Status: NTP PPS page</name>
<description>Allow access to the 'Status: NTP PPS' page.</description>
<patterns>
<pattern>status_ntpd_pps.php*</pattern>
</patterns>
</page-services-ntp-pps>
<page-status-systemlogs-ntpd>
<name>WebCfg - Status: System logs: NTP page</name>
<description>Allow access to the 'Status: System logs: NTP' page.</description>
<patterns>
<pattern>diag_logs_ntpd.php*</pattern>
</patterns>
</page-status-systemlogs-ntpd>
</acl>
<menu>
<Services>
<NTP VisibleName="Network Time" cssClass="fa fa-clock-o fa-fw">
<General order="10" url="/services_ntpd.php"/>
<GPS order="20" url="/services_ntpd_gps.php"/>
<PPS order="30" url="/services_ntpd_pps.php"/>
<Status order="40" url="/status_ntpd.php"/>
<Log order="50" VisibleName="Log File" url="/diag_logs_ntpd.php"/>
</NTP>
</Services>
</menu>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment