mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
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:
committed by
Paul Donald
parent
20bd9d223f
commit
193f802e5a
@@ -5,6 +5,9 @@
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/services/keepalived/globals"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-keepalived" ]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -113,6 +116,9 @@
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "keepalived/overview"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-keepalived" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user