Commit f59d2c87 authored by Ad Schellevis's avatar Ad Schellevis

(diagnostics) move acl and menu content for ndp to diagnostics

parent 85790edb
...@@ -134,7 +134,6 @@ ...@@ -134,7 +134,6 @@
</Wireless> </Wireless>
<Diagnostics order="940" cssClass="fa fa-medkit"> <Diagnostics order="940" cssClass="fa fa-medkit">
<DNSLookup order="20" VisibleName="DNS Lookup" url="/diag_dns.php"/> <DNSLookup order="20" VisibleName="DNS Lookup" url="/diag_dns.php"/>
<NDPTable order="30" VisibleName="NDP Table" url="/diag_ndp.php"/>
<PacketCapture order="40" VisibleName="Packet Capture" url="/diag_packet_capture.php"/> <PacketCapture order="40" VisibleName="Packet Capture" url="/diag_packet_capture.php"/>
<Ping order="50" url="/diag_ping.php"/> <Ping order="50" url="/diag_ping.php"/>
<TestPort order="60" VisibleName="Test Port" url="/diag_testport.php"/> <TestPort order="60" VisibleName="Test Port" url="/diag_testport.php"/>
......
...@@ -186,13 +186,6 @@ ...@@ -186,13 +186,6 @@
"diag_nanobsd.php*" "diag_nanobsd.php*"
] ]
}, },
"page-diagnostics-ndptable": {
"name": "Webcfg - Diagnostics: NDP Table page",
"descr": "Allow access to the 'Diagnostics: NDP Table' page.",
"match": [
"diag_ndp.php*"
]
},
"page-diagnostics-packetcapture": { "page-diagnostics-packetcapture": {
"name": "WebCfg - Diagnostics: Packet Capture page", "name": "WebCfg - Diagnostics: Packet Capture page",
"descr": "Allow access to the 'Diagnostics: Packet Capture' page.", "descr": "Allow access to the 'Diagnostics: Packet Capture' page.",
......
...@@ -5,15 +5,23 @@ ...@@ -5,15 +5,23 @@
<description>Allow access to the 'Diagnostics: ARP Table' page.</description> <description>Allow access to the 'Diagnostics: ARP Table' page.</description>
<patterns> <patterns>
<pattern>ui/diagnostics/interface/arp/*</pattern> <pattern>ui/diagnostics/interface/arp/*</pattern>
<pattern>api/diagnostics/interface/arp/*</pattern> <pattern>api/diagnostics/interface/getArp*</pattern>
</patterns> </patterns>
</page-diagnostics-arptable> </page-diagnostics-arptable>
<page-diagnostics-ndptable>
<name>Webcfg - Diagnostics: NDP Table page</name>
<description>Allow access to the 'Diagnostics: NDP Table' page.</description>
<patterns>
<pattern>ui/diagnostics/interface/ndp/*</pattern>
<pattern>api/diagnostics/interface/getNdp*</pattern>
</patterns>
</page-diagnostics-ndptable>
<page-diagnostics-system-activity> <page-diagnostics-system-activity>
<name>WebCfg - Diagnostics: System Activity</name> <name>WebCfg - Diagnostics: System Activity</name>
<description>Allows access to the 'Diagnostics: System Activity' page</description> <description>Allows access to the 'Diagnostics: System Activity' page</description>
<patterns> <patterns>
<pattern>ui/diagnostics/activity/*</pattern> <pattern>ui/diagnostics/activity/*</pattern>
<pattern>api/diagnostics/activity/*</pattern> <pattern>api/diagnostics/activity/*</pattern>
</patterns> </patterns>
</page-diagnostics-system-activity> </page-diagnostics-system-activity>
</acl> </acl>
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
</System> </System>
<Interfaces> <Interfaces>
<Diagnostics> <Diagnostics>
<ARPTable order="10" VisibleName="ARP Table" url="/ui/diagnostics/interface/arp/"/> <ARPTable order="10" VisibleName="ARP Table" url="/ui/diagnostics/interface/arp/"/>
<NDPTable order="30" VisibleName="NDP Table" url="/ui/diagnostics/interface/ndp/"/>
</Diagnostics> </Diagnostics>
</Interfaces> </Interfaces>
</menu> </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