Commit 4b99ff9f authored by Franco Fichtner's avatar Franco Fichtner

wake on lan: acl and menu

parent d83563fa
...@@ -468,6 +468,8 @@ ...@@ -468,6 +468,8 @@
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml /usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
/usr/local/opnsense/mvc/app/models/OPNsense/UPnP/ACL/ACL.xml /usr/local/opnsense/mvc/app/models/OPNsense/UPnP/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/UPnP/Menu/Menu.xml /usr/local/opnsense/mvc/app/models/OPNsense/UPnP/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/WOL/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/WOL/Menu/Menu.xml
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt /usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/index.volt /usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/index.volt
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt /usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt
......
...@@ -255,10 +255,6 @@ ...@@ -255,10 +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>
<WoL VisibleName="Wake on LAN" url="/services_wol.php" cssClass="fa fa-power-off fa-fw">
<WoLEdit url="/services_wol_edit.php*" visibility="hidden"/>
<Wol url="/services_wol.php*" visibility="hidden"/>
</WoL>
<Diagnostics order="900" cssClass="fa fa-medkit fa-fw" url="/status_services.php"> <Diagnostics order="900" cssClass="fa fa-medkit fa-fw" url="/status_services.php">
<All url="/status_services.php?*" visibility="hidden"/> <All url="/status_services.php?*" visibility="hidden"/>
</Diagnostics> </Diagnostics>
......
...@@ -658,20 +658,6 @@ ...@@ -658,20 +658,6 @@
<pattern>services_router_advertisements.php*</pattern> <pattern>services_router_advertisements.php*</pattern>
</patterns> </patterns>
</page-services-router-advertisements> </page-services-router-advertisements>
<page-services-wakeonlan>
<name>WebCfg - Services: Wake on LAN page</name>
<description>Allow access to the 'Services: Wake on LAN' page.</description>
<patterns>
<pattern>services_wol.php*</pattern>
</patterns>
</page-services-wakeonlan>
<page-services-wakeonlan-edit>
<name>WebCfg - Services: Wake on LAN: Edit page</name>
<description>Allow access to the 'Services: Wake on LAN: Edit' page.</description>
<patterns>
<pattern>services_wol_edit.php*</pattern>
</patterns>
</page-services-wakeonlan-edit>
<page-status-carp> <page-status-carp>
<name>WebCfg - Status: CARP page</name> <name>WebCfg - Status: CARP page</name>
<description>Allow access to the 'Status: CARP' page.</description> <description>Allow access to the 'Status: CARP' page.</description>
......
<acl>
<page-services-wakeonlan>
<name>WebCfg - Services: Wake on LAN page</name>
<description>Allow access to the 'Services: Wake on LAN' page.</description>
<patterns>
<pattern>services_wol.php*</pattern>
</patterns>
</page-services-wakeonlan>
<page-services-wakeonlan-edit>
<name>WebCfg - Services: Wake on LAN: Edit page</name>
<description>Allow access to the 'Services: Wake on LAN: Edit' page.</description>
<patterns>
<pattern>services_wol_edit.php*</pattern>
</patterns>
</page-services-wakeonlan-edit>
</acl>
<menu>
<Services>
<WoL VisibleName="Wake on LAN" url="/services_wol.php" cssClass="fa fa-power-off fa-fw">
<WoLEdit url="/services_wol_edit.php*" visibility="hidden"/>
<Wol url="/services_wol.php*" visibility="hidden"/>
</WoL>
</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