luci/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json
Jo-Philipp Wich 40c56ddd77 luci-app-vnstat2: fully convert to client side rendering
This converts the graph rendering to client side JavaScript and replaces
the route registration with declarative JSON.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31 08:51:55 +01:00

19 lines
339 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" ]
}
},
"write": {
"file": {
"/usr/bin/vnstat": [ "exec" ]
},
"uci": [ "vnstat" ]
}
}
}