Commit d35678f1 authored by Franco Fichtner's avatar Franco Fichtner

relayd: separate acl and menu entries

parent 8de4047e
......@@ -255,21 +255,6 @@
<IGMPProxy VisibleName="IGMP Proxy" url="/services_igmpproxy.php" cssClass="fa fa-map-signs fa-fw">
<Edit url="/services_igmpproxy_edit.php" visibility="hidden"/>
</IGMPProxy>
<LoadBalancer VisibleName="Load Balancer" cssClass="fa fa-truck fa-fw">
<Monitors order="10" url="/load_balancer_monitor.php">
<Edit url="/load_balancer_monitor_edit.php*" visibility="hidden"/>
</Monitors>
<PoolSetup order="20" VisibleName="Pool Setup" url="/load_balancer_pool.php">
<Edit url="/load_balancer_pool_edit.php*" visibility="hidden"/>
</PoolSetup>
<VirtualServer order="30" VisibleName="Virtual Server Setup" url="/load_balancer_virtual_server.php">
<Edit url="/load_balancer_virtual_server_edit.php*" visibility="hidden"/>
</VirtualServer>
<Settings order="40" url="/load_balancer_setting.php"/>
<PoolStatus order="50" VisibleName="Pool Status" url="/status_lb_pool.php"/>
<VirtualServerStatus order="60" VisibleName="Virtual Server Status" url="/status_lb_vs.php"/>
<Log VisibleName="Log File" order="100" url="/diag_logs_relayd.php"/>
</LoadBalancer>
<NTP VisibleName="Network Time" cssClass="fa fa-clock-o fa-fw">
<General order="10" url="/services_ntpd.php"/>
<GPS order="20" url="/services_ntpd_gps.php"/>
......
......@@ -525,27 +525,6 @@
"interfaces_wireless.php*"
]
},
"page-loadbalancer-pool": {
"name": "WebCfg - Load Balancer: Pool page",
"descr": "Allow access to the 'Load Balancer: Pool' page.",
"match": [
"load_balancer_pool.php*"
]
},
"page-loadbalancer-pool-edit": {
"name": "WebCfg - Load Balancer: Pool: Edit page",
"descr": "Allow access to the 'Load Balancer: Pool: Edit' page.",
"match": [
"load_balancer_pool_edit.php*"
]
},
"page-loadbalancer-virtualserver-edit": {
"name": "WebCfg - Load Balancer: Virtual Server: Edit page",
"descr": "Allow access to the 'Load Balancer: Virtual Server: Edit' page.",
"match": [
"load_balancer_virtual_server_edit.php*"
]
},
"page-system-login\/logout": {
"name": "WebCfg - Lobby: Login \/ Logout \/ Dashboard page",
"descr": "Allow access to the 'Lobby: Login \/ Logout\/ Dashboard' page.",
......@@ -700,34 +679,6 @@
"services_igmpproxy_edit.php*"
]
},
"page-services-loadbalancer-monitor-edit": {
"name": "WebCfg - Services: Load Balancer: Monitor: Edit page",
"descr": "Allow access to the 'Services: Load Balancer: Monitor: Edit' page.",
"match": [
"load_balancer_monitor_edit.php*"
]
},
"page-services-loadbalancer-monitor": {
"name": "WebCfg - Services: Load Balancer: Monitors page",
"descr": "Allow access to the 'Services: Load Balancer: Monitors' page.",
"match": [
"load_balancer_monitor.php*"
]
},
"page-services-loadbalancer-setting": {
"name": "WebCfg - Services: Load Balancer: setting page",
"descr": "Allow access to the 'Settings: Load Balancer: Settings' page.",
"match": [
"load_balancer_setting.php*"
]
},
"page-services-loadbalancer-virtualservers": {
"name": "WebCfg - Services: Load Balancer: Virtual Servers page",
"descr": "Allow access to the 'Services: Load Balancer: Virtual Servers' page.",
"match": [
"load_balancer_virtual_server.php*"
]
},
"page-services-ntpd": {
"name": "WebCfg - Services: NTP",
"descr": "Allow access to the 'Services: NTP' page.",
......@@ -854,20 +805,6 @@
"diag_ipsec_spd.php*"
]
},
"page-status-loadbalancer-pool": {
"name": "WebCfg - Status: Load Balancer: Pool page",
"descr": "Allow access to the 'Status: Load Balancer: Pool' page.",
"match": [
"status_lb_pool.php*"
]
},
"page-status-loadbalancer-virtualserver": {
"name": "WebCfg - Status: Load Balancer: Virtual Server page",
"descr": "Allow access to the 'Status: Load Balancer: Virtual Server' page.",
"match": [
"status_lb_vs.php*"
]
},
"page-services-ntp-gps": {
"name": "WebCfg - Status: NTP GPS page",
"descr": "Allow access to the 'Status: NTP Serial GPS' page.",
......@@ -924,13 +861,6 @@
"diag_logs_ppp.php*"
]
},
"page-status-systemlogs-loadbalancer": {
"name": "WebCfg - Status: System logs: Load Balancer page",
"descr": "Allow access to the 'Status: System logs: Load Balancer' page.",
"match": [
"diag_logs_relayd.php*"
]
},
"page-status-systemlogs-ntpd": {
"name": "WebCfg - Status: System logs: NTP page",
"descr": "Allow access to the 'Status: System logs: NTP' page.",
......
<acl>
<page-services-loadbalancer-monitor-edit>
<name>WebCfg - Services: Load Balancer: Monitor: Edit page</name>
<description>Allow access to the 'Services: Load Balancer: Monitor: Edit' page.</description>
<patterns>
<pattern>load_balancer_monitor_edit.php*</pattern>
</patterns>
</page-services-loadbalancer-monitor-edit>
<page-services-loadbalancer-monitor>
<name>WebCfg - Services: Load Balancer: Monitors page</name>
<description>Allow access to the 'Services: Load Balancer: Monitors' page.</description>
<patterns>
<pattern>load_balancer_monitor.php*</pattern>
</patterns>
</page-services-loadbalancer-monitor>
<page-services-loadbalancer-setting>
<name>WebCfg - Services: Load Balancer: setting page</name>
<description>Allow access to the 'Settings: Load Balancer: Settings' page.</description>
<patterns>
<pattern>load_balancer_setting.php*</pattern>
</patterns>
</page-services-loadbalancer-setting>
<page-services-loadbalancer-virtualservers>
<name>WebCfg - Services: Load Balancer: Virtual Servers page</name>
<description>Allow access to the 'Services: Load Balancer: Virtual Servers' page.</description>
<patterns>
<pattern>load_balancer_virtual_server.php*</pattern>
</patterns>
</page-services-loadbalancer-virtualservers>
<page-status-loadbalancer-pool>
<name>WebCfg - Status: Load Balancer: Pool page</name>
<description>Allow access to the 'Status: Load Balancer: Pool' page.</description>
<patterns>
<pattern>status_lb_pool.php*</pattern>
</patterns>
</page-status-loadbalancer-pool>
<page-status-loadbalancer-virtualserver>
<name>WebCfg - Status: Load Balancer: Virtual Server page</name>
<description>Allow access to the 'Status: Load Balancer: Virtual Server' page.</description>
<patterns>
<pattern>status_lb_vs.php*</pattern>
</patterns>
</page-status-loadbalancer-virtualserver>
<page-status-systemlogs-loadbalancer>
<name>WebCfg - Status: System logs: Load Balancer page</name>
<description>Allow access to the 'Status: System logs: Load Balancer' page.</description>
<patterns>
<pattern>diag_logs_relayd.php*</pattern>
</patterns>
</page-status-systemlogs-loadbalancer>
<page-loadbalancer-pool>
<name>WebCfg - Load Balancer: Pool page</name>
<description>Allow access to the 'Load Balancer: Pool' page.</description>
<patterns>
<pattern>load_balancer_pool.php*</pattern>
</patterns>
</page-loadbalancer-pool>
<page-loadbalancer-pool-edit>
<name>WebCfg - Load Balancer: Pool: Edit page</name>
<description>Allow access to the 'Load Balancer: Pool: Edit' page.</description>
<patterns>
<pattern>load_balancer_pool_edit.php*</pattern>
</patterns>
</page-loadbalancer-pool-edit>
<page-loadbalancer-virtualserver-edit>
<name>WebCfg - Load Balancer: Virtual Server: Edit page</name>
<description>Allow access to the 'Load Balancer: Virtual Server: Edit' page.</description>
<patterns>
<pattern>load_balancer_virtual_server_edit.php*</pattern>
</patterns>
</page-loadbalancer-virtualserver-edit>
</acl>
<menu>
<Services>
<LoadBalancer VisibleName="Load Balancer" cssClass="fa fa-truck fa-fw">
<Monitors order="10" url="/load_balancer_monitor.php">
<Edit url="/load_balancer_monitor_edit.php*" visibility="hidden"/>
</Monitors>
<PoolSetup order="20" VisibleName="Pool Setup" url="/load_balancer_pool.php">
<Edit url="/load_balancer_pool_edit.php*" visibility="hidden"/>
</PoolSetup>
<VirtualServer order="30" VisibleName="Virtual Server Setup" url="/load_balancer_virtual_server.php">
<Edit url="/load_balancer_virtual_server_edit.php*" visibility="hidden"/>
</VirtualServer>
<Settings order="40" url="/load_balancer_setting.php"/>
<PoolStatus order="50" VisibleName="Pool Status" url="/status_lb_pool.php"/>
<VirtualServerStatus order="60" VisibleName="Virtual Server Status" url="/status_lb_vs.php"/>
<Log VisibleName="Log File" order="100" url="/diag_logs_relayd.php"/>
</LoadBalancer>
</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