From 6037c8a847962a52ceb48f3c8059c60300949bc8 Mon Sep 17 00:00:00 2001 From: Jan Hoffmann Date: Fri, 24 Apr 2020 18:43:03 +0200 Subject: luci-app-vnstat2: fix ACL rules, disable button on insufficient ACLs Signed-off-by: Jan Hoffmann --- .../luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-vnstat2/root') diff --git a/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json b/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json index fb16f09c9..7acf74bd5 100644 --- a/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json +++ b/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json @@ -6,7 +6,8 @@ "file": { "/usr/bin/vnstat --json f 1": [ "exec" ], "/usr/bin/vnstati -[5dhmsty] -i * -o -": [ "exec" ] - } + }, + "uci": [ "vnstat" ] }, "write": { "file": { -- cgit v1.2.3