luci-app-usteer: fix menu showing on login screen

Currently menu entry is always shown even at the login screen.
Fix this by setting acl dependency.

Also fix the indent.

Signed-off-by: Zhi-Jun You <hujy652@protonmail.com>
This commit is contained in:
Zhi-Jun You
2025-09-30 10:51:28 +08:00
committed by Paul Donald
parent 7911cefc45
commit 874dc4bae5

View File

@@ -1,10 +1,13 @@
{
"admin/network/usteer": {
"title": "Usteer",
"order": 80,
"action": {
"type": "view",
"path": "usteer/usteer"
}
}
"admin/network/usteer": {
"title": "Usteer",
"order": 80,
"action": {
"type": "view",
"path": "usteer/usteer"
},
"depends": {
"acl": [ "luci-app-usteer" ]
}
}
}