luci/applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json
Jo-Philipp Wich 1d47f0c1a9 luci-app-statistics: add missing ACL rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-13 19:37:26 +01:00

23 lines
680 B
JSON

{
"luci-app-statistics": {
"description": "Grant access to statistics resources",
"read": {
"cgi-io": [ "read", "exec" ],
"file": {
"/etc/filesystems": [ "read" ],
"/etc/group": [ "read" ],
"/etc/passwd": [ "read" ],
"/proc/filesystems": [ "read" ],
"/proc/interrupts": [ "read" ],
"/proc/mounts": [ "read" ],
"/proc/partitions": [ "read" ],
"/proc/sys/kernel/hostname": [ "read" ],
"/usr/bin/rrdtool graph - -a PNG *": [ "exec" ],
"/usr/sbin/iptables-save": [ "exec" ],
"/usr/sbin/ip6tables-save": [ "exec" ],
"/usr/sbin/sensors -j": [ "exec" ],
"/usr/share/luci/statistics/plugins/*.json": [ "read" ]
}
}
}
}