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

This commit is contained in:
Ad Schellevis 2016-01-05 18:01:33 +01:00
parent 85790edb92
commit f59d2c8719
4 changed files with 17 additions and 16 deletions

View File

@ -134,7 +134,6 @@
</Wireless>
<Diagnostics order="940" cssClass="fa fa-medkit">
<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"/>
<Ping order="50" url="/diag_ping.php"/>
<TestPort order="60" VisibleName="Test Port" url="/diag_testport.php"/>

View File

@ -186,13 +186,6 @@
"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": {
"name": "WebCfg - Diagnostics: Packet Capture page",
"descr": "Allow access to the 'Diagnostics: Packet Capture' page.",

View File

@ -5,15 +5,23 @@
<description>Allow access to the 'Diagnostics: ARP Table' page.</description>
<patterns>
<pattern>ui/diagnostics/interface/arp/*</pattern>
<pattern>api/diagnostics/interface/arp/*</pattern>
<pattern>api/diagnostics/interface/getArp*</pattern>
</patterns>
</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>
<name>WebCfg - Diagnostics: System Activity</name>
<description>Allows access to the 'Diagnostics: System Activity' page</description>
<patterns>
<pattern>ui/diagnostics/activity/*</pattern>
<pattern>api/diagnostics/activity/*</pattern>
</patterns>
<name>WebCfg - Diagnostics: System Activity</name>
<description>Allows access to the 'Diagnostics: System Activity' page</description>
<patterns>
<pattern>ui/diagnostics/activity/*</pattern>
<pattern>api/diagnostics/activity/*</pattern>
</patterns>
</page-diagnostics-system-activity>
</acl>

View File

@ -7,7 +7,8 @@
</System>
<Interfaces>
<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>
</Interfaces>
</menu>