Commit 97bc3d0e authored by Franco Fichtner's avatar Franco Fichtner

upnp: move menu and acl to separate files

(cherry picked from commit 8de4047e)
parent 9df5bdce
...@@ -448,6 +448,8 @@ ...@@ -448,6 +448,8 @@
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/Migrations/M1_0_0.php /usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/Migrations/M1_0_0.php
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.php /usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.php
/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/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
......
...@@ -278,12 +278,6 @@ ...@@ -278,12 +278,6 @@
<Log order="50" VisibleName="Log File" url="/diag_logs_ntpd.php"/> <Log order="50" VisibleName="Log File" url="/diag_logs_ntpd.php"/>
</NTP> </NTP>
<SNMP url="/services_snmp.php" cssClass="fa fa-database fa-fw"/> <SNMP url="/services_snmp.php" cssClass="fa fa-database fa-fw"/>
<UPnP VisibleName="Universal Plug and Play" cssClass="fa fa-plug fa-fw">
<Settings url="/services_upnp.php">
<Edit url="/services_upnp.php?*" visibility="hidden"/>
</Settings>
<Status url="/status_upnp.php"/>
</UPnP>
<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"/>
......
...@@ -966,20 +966,6 @@ ...@@ -966,20 +966,6 @@
"status_graph.php*" "status_graph.php*"
] ]
}, },
"page-service-upnp": {
"name": "WebCfg - Service: Universal Plug and Play page",
"descr": "Allow access to the 'Service: Universal Plug and Play' page.",
"match": [
"services_upnp.php*"
]
},
"page-status-upnpstatus": {
"name": "WebCfg - Status: Universal Plug and Play page",
"descr": "Allow access to the 'Status: Universal Plug and Play' page.",
"match": [
"status_upnp.php*"
]
},
"page-diagnostics-wirelessstatus": { "page-diagnostics-wirelessstatus": {
"name": "WebCfg - Status: Wireless page", "name": "WebCfg - Status: Wireless page",
"descr": "Allow access to the 'Status: Wireless' page.", "descr": "Allow access to the 'Status: Wireless' page.",
......
<acl>
<page-service-upnp>
<name>WebCfg - Service: Universal Plug and Play page</name>
<description>Allow access to the 'Service: Universal Plug and Play' page.</description>
<patterns>
<pattern>services_upnp.php*</pattern>
</patterns>
</page-service-upnp>
<page-status-upnpstatus>
<name>WebCfg - Status: Universal Plug and Play page</name>
<description>Allow access to the 'Status: Universal Plug and Play' page.</description>
<patterns>
<pattern>status_upnp.php*</pattern>
</patterns>
</page-status-upnpstatus>
</acl>
<menu>
<Services>
<UPnP VisibleName="Universal Plug and Play" cssClass="fa fa-plug fa-fw">
<Settings url="/services_upnp.php">
<Edit url="/services_upnp.php?*" visibility="hidden"/>
</Settings>
<Status url="/status_upnp.php"/>
</UPnP>
</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