luci-app-transmission: make menu node depend on corresponding ACL
authorJo-Philipp Wich <jo@mein.io>
Fri, 3 Dec 2021 23:22:12 +0000 (00:22 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 3 Dec 2021 23:22:51 +0000 (00:22 +0100)
Fixes: #5577
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-transmission/root/usr/share/luci/menu.d/luci-app-transmission.json

index 71a17e2b905cf6ea5b3a6356e00e92dde890877c..b05f05a10f229002401e266e09641c19a6265473 100644 (file)
@@ -6,6 +6,7 @@
                        "path": "transmission"
                },
                "depends": {
+                       "acl": [ "luci-app-transmission" ],
                        "uci": { "transmission": true }
                }
        }