summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json
blob: 573d0beb3a3c05d2771fe7a87afdc5ccf59bbab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
	"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" ],
				"/tmp/rrd": [ "list" ],
				"/usr/bin/rrdtool graph - -a PNG -s *": [ "exec" ],
				"/usr/lib/collectd": [ "list" ],
				"/usr/sbin/iptables-save": [ "exec" ],
				"/usr/sbin/ip6tables-save": [ "exec" ],
				"/usr/sbin/sensors -j": [ "exec" ],
				"/usr/share/luci/statistics/plugins": [ "list" ],
				"/usr/share/luci/statistics/plugins/*.json": [ "read" ],
				"/var/run": [ "list" ],
				"/www/luci-static/resources/statistics/rrdtool/definitions": [ "list" ]
			},
			"ubus": {
				"file": [ "list", "read" ]
			},
			"uci": [ "luci_statistics" ]
		},
		"write": {
			"uci": [ "luci_statistics" ]
		}
	}
}