luci/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json
Jan Hoffmann 6037c8a847 luci-app-vnstat2: fix ACL rules, disable button on insufficient ACLs
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2020-04-24 18:43:03 +02:00

20 lines
363 B
JSON

{
"luci-app-vnstat2": {
"description": "Grant access to LuCI app vnstat2",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/usr/bin/vnstat --json f 1": [ "exec" ],
"/usr/bin/vnstati -[5dhmsty] -i * -o -": [ "exec" ]
},
"uci": [ "vnstat" ]
},
"write": {
"file": {
"/usr/bin/vnstat": [ "exec" ]
},
"uci": [ "vnstat" ]
}
}
}