summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json
blob: d0a616be6e37edf8f794bf8bfc5a5ad982fa1df6 (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
36
37
38
{
	"luci-app-banip": {
		"description": "Grant access to LuCI app banIP",
		"write": {
			"uci": [ "banip" ],
			"file": {
				"/etc/banip/*": [ "read" ],
				"/etc/banip/banip.blacklist": [ "write" ],
				"/etc/banip/banip.whitelist": [ "write" ],
				"/etc/banip/banip.maclist": [ "write" ]
			}
		},
		"read": {
			"cgi-io": [ "exec" ],
			"file": {
				"/var/run/banip.pid": [ "read" ],
				"/tmp/ban_runtime.json": [ "read" ],
				"/sbin/logread -e banIP-": [ "exec" ],
				"/usr/sbin/logread -e banIP-": [ "exec" ],
				"/usr/sbin/iptables -L": [ "exec" ],
				"/usr/sbin/ip6tables -L": [ "exec" ],
				"/etc/init.d/banip list" : [ "exec" ],
				"/etc/init.d/banip refresh" : [ "exec" ],
				"/etc/init.d/banip reload" : [ "exec" ],
				"/etc/init.d/banip restart" : [ "exec" ],
				"/etc/init.d/banip suspend" : [ "exec" ],
				"/etc/init.d/banip resume" : [ "exec" ],
				"/etc/init.d/banip report gen" : [ "exec" ],
				"/etc/init.d/banip report json" : [ "exec" ],
				"/etc/init.d/banip timer list" : [ "exec" ],
				"/etc/init.d/banip timer remove [0-9]*" : [ "exec" ],
				"/etc/init.d/banip timer add * [0-9]* [0-9*]* [1-7,-*]*" : [ "exec" ],
				"/etc/init.d/banip query *" : [ "exec" ]
			},
			"uci": [ "banip" ]
		}
	}
}