Commit 38d06741 authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) move acl and menu into module

parent 825338ee
......@@ -181,8 +181,7 @@
<NPTEdit url="/firewall_nat_npt_edit.php*"/>
</NPT>
</NAT>
<TrafficShaper order="40" VisibleName="Traffic Shaper" cssClass="fa fa-filter">
<Settings url="/ui/trafficshaper/"/>
<TrafficShaper>
<Status url="/diag_limiter_info.php"/>
</TrafficShaper>
<VirtualIPs order="50" VisibleName="Virtual IPs" url="/firewall_virtual_ip.php" cssClass="fa fa-clone">
......
......@@ -410,14 +410,6 @@
"firewall_schedule_edit.php*"
]
},
"page-firewall-trafficshaper": {
"name": "WebCfg - Firewall: Traffic Shaper page",
"descr": "Allow access to the 'Firewall: Traffic Shaper' page.",
"match": [
"ui/trafficshaper/*",
"api/trafficshaper/*"
]
},
"page-firewall-virtualipaddress-edit": {
"name": "WebCfg - Firewall: Virtual IP Address: Edit page",
"descr": "Allow access to the 'Firewall: Virtual IP Address: Edit' page.",
......
<acl>
<!-- unique acl key, must be globally unique for all acl's -->
<page-firewall-trafficshaper>
<name>WebCfg - Firewall: Traffic Shaper page</name>
<description>Allow access to the 'Firewall: Traffic Shaper' page.</description>
<patterns>
<pattern>ui/trafficshaper/*</pattern>
<pattern>api/trafficshaper/*</pattern>
</patterns>
</page-firewall-trafficshaper>
</acl>
<menu>
<Firewall>
<TrafficShaper order="40" VisibleName="Traffic Shaper" cssClass="fa fa-filter">
<Settings url="/ui/trafficshaper/"/>
</TrafficShaper>
</Firewall>
</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