bsnmpd: acl and menu entries

This commit is contained in:
Franco Fichtner 2016-11-21 18:08:53 +01:00
parent 2bb0f2301b
commit 4763373d51
5 changed files with 16 additions and 8 deletions

2
plist
View File

@ -454,6 +454,8 @@
/usr/local/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Relayd/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/Relayd/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/SNMP/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/SNMP/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/Menu/Menu.xml
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/Migrations/M1_0_0.php

View File

@ -265,7 +265,6 @@
<Status order="40" url="/status_ntpd.php"/>
<Log order="50" VisibleName="Log File" url="/diag_logs_ntpd.php"/>
</NTP>
<SNMP url="/services_snmp.php" cssClass="fa fa-database fa-fw"/>
<WoL VisibleName="Wake on LAN" url="/services_wol.php" cssClass="fa fa-power-off fa-fw">
<WoLEdit url="/services_wol_edit.php*" visibility="hidden"/>
<Wol url="/services_wol.php*" visibility="hidden"/>

View File

@ -700,13 +700,6 @@
"services_router_advertisements.php*"
]
},
"page-services-snmp": {
"name": "WebCfg - Services: SNMP page",
"descr": "Allow access to the 'Services: SNMP' page.",
"match": [
"services_snmp.php*"
]
},
"page-services-wakeonlan": {
"name": "WebCfg - Services: Wake on LAN page",
"descr": "Allow access to the 'Services: Wake on LAN' page.",

View File

@ -0,0 +1,9 @@
<acl>
<page-services-snmp>
<name>WebCfg - Services: SNMP page</name>
<description>Allow access to the 'Services: SNMP' page.</description>
<patterns>
<pattern>services_snmp.php*</pattern>
</patterns>
</page-services-snmp>
</acl>

View File

@ -0,0 +1,5 @@
<menu>
<Services>
<SNMP url="/services_snmp.php" cssClass="fa fa-database fa-fw"/>
</Services>
</menu>