mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
wake on lan: acl and menu
This commit is contained in:
parent
d83563faba
commit
4b99ff9f02
2
plist
2
plist
@ -468,6 +468,8 @@
|
||||
/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/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/index.volt
|
||||
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt
|
||||
|
||||
@ -255,10 +255,6 @@
|
||||
<Lookup order="40" url="/diag_dns.php"/>
|
||||
<LogFile order="100" VisibleName="Log File" url="/diag_logs_resolver.php"/>
|
||||
</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">
|
||||
<All url="/status_services.php?*" visibility="hidden"/>
|
||||
</Diagnostics>
|
||||
|
||||
@ -658,20 +658,6 @@
|
||||
<pattern>services_router_advertisements.php*</pattern>
|
||||
</patterns>
|
||||
</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>
|
||||
<name>WebCfg - Status: CARP page</name>
|
||||
<description>Allow access to the 'Status: CARP' page.</description>
|
||||
|
||||
16
src/opnsense/mvc/app/models/OPNsense/WOL/ACL/ACL.xml
Normal file
16
src/opnsense/mvc/app/models/OPNsense/WOL/ACL/ACL.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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>
|
||||
8
src/opnsense/mvc/app/models/OPNsense/WOL/Menu/Menu.xml
Normal file
8
src/opnsense/mvc/app/models/OPNsense/WOL/Menu/Menu.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<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>
|
||||
Loading…
x
Reference in New Issue
Block a user