luci-mod-status: add ACL to allow access to getBuiltinEthernetPorts

Fixes: ed059e4cd3 ("luci-mod-status: 29_ports.js: attempt to use getBuiltinEthernetPorts")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2023-10-25 23:15:16 +02:00
parent efcd487978
commit 575ce5512d

View file

@ -37,6 +37,15 @@
}
},
"luci-mod-status-index-ports": {
"description": "Grant access to port status display",
"read": {
"ubus": {
"luci": [ "getBuiltinEthernetPorts" ]
}
}
},
"luci-mod-status-index-wifi": {
"description": "Grant access to wireless status display",
"read": {