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:
parent
efcd487978
commit
575ce5512d
1 changed files with 9 additions and 0 deletions
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue