Commit 55743152 authored by Ad Schellevis's avatar Ad Schellevis

(proxy) move acl and menu items into module

parent 38d06741
...@@ -293,8 +293,7 @@ ...@@ -293,8 +293,7 @@
<Type url="/diag_logs_poes.php*"/> <Type url="/diag_logs_poes.php*"/>
</LogFile> </LogFile>
</PPPoEServer> </PPPoEServer>
<Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt"> <Proxy>
<Administration url="/ui/proxy/"/>
<Log VisibleName="Log File" url="/diag_logs_proxy.php?type=cache"> <Log VisibleName="Log File" url="/diag_logs_proxy.php?type=cache">
<More url="/diag_logs_proxy.php*"/> <More url="/diag_logs_proxy.php*"/>
</Log> </Log>
......
...@@ -1414,13 +1414,5 @@ ...@@ -1414,13 +1414,5 @@
"match": [ "match": [
"xmlrpc.php*" "xmlrpc.php*"
] ]
},
"page-services-proxy": {
"name": "WebCfg - Services: Proxy page",
"descr": "Allow access to the 'Services: Proxy' page.",
"match": [
"ui/proxy/*",
"api/proxy/*"
]
} }
} }
<acl>
<!-- unique acl key, must be globally unique for all acl's -->
<page-services-proxy>
<name>WebCfg - Services: Proxy page</name>
<description>Allow access to the 'Services: Proxy' page.</description>
<patterns>
<pattern>ui/proxy/*</pattern>
<pattern>api/proxy/*</pattern>
</patterns>
</page-services-proxy>
</acl>
<menu>
<Services>
<Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt">
<Administration url="/ui/proxy/"/>
</Proxy>
</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