luci-app-statistics: add missing ACL rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
81cf99a507
commit
1d47f0c1a9
1 changed files with 23 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue