luci-app-keepalived: set acl dependency

Because no ACL has been set for luci-app-keepalived in menu.d, the menu
entry is always displayed, even if access is disabled in the
'/etc/config/rpcd' file.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2024-12-03 14:18:20 +01:00
committed by Paul Donald
parent 20bd9d223f
commit 193f802e5a

View File

@@ -5,6 +5,9 @@
"action": { "action": {
"type": "alias", "type": "alias",
"path": "admin/services/keepalived/globals" "path": "admin/services/keepalived/globals"
},
"depends": {
"acl": [ "luci-app-keepalived" ]
} }
}, },
@@ -113,6 +116,9 @@
"action": { "action": {
"type": "view", "type": "view",
"path": "keepalived/overview" "path": "keepalived/overview"
},
"depends": {
"acl": [ "luci-app-keepalived" ]
} }
} }
} }