summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat2/root/usr/share
diff options
context:
space:
mode:
authorJan Hoffmann <jan@3e8.eu>2020-04-24 18:43:03 +0200
committerJan Hoffmann <jan@3e8.eu>2020-04-24 18:43:03 +0200
commit6037c8a847962a52ceb48f3c8059c60300949bc8 (patch)
tree560bdcd5ca1b957aec6ca3170063c661249e56fd /applications/luci-app-vnstat2/root/usr/share
parent083f8f748b509f855b2be248431434355f5ef121 (diff)
luci-app-vnstat2: fix ACL rules, disable button on insufficient ACLs
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'applications/luci-app-vnstat2/root/usr/share')
-rw-r--r--applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json3
1 files changed, 2 insertions, 1 deletions
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 fb16f09c9a..7acf74bd59 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": {