summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json
blob: 9993b10679d842b8ee3f0af83781ec0a9f38be6c (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
	"luci-app-banip": {
		"description": "Grant access to LuCI app banIP",
		"write": {
			"uci": [
				"banip"
			],
			"file": {
				"/etc/banip/*": [
					"read"
				],
				"/etc/banip/banip.allowlist": [
					"write"
				],
				"/etc/banip/banip.blocklist": [
					"write"
				],
				"/etc/banip/banip.feeds": [
					"write"
				]
			}
		},
		"read": {
			"cgi-io": [
				"exec"
			],
			"file": {
				"/var/run/banip.lock": [
					"read"
				],
				"/sbin/logread -e banIP-": [
					"exec"
				],
				"/usr/sbin/logread -e banIP-": [
					"exec"
				],
				"/sbin/logread -e  banIP/": [
					"exec"
				],
				"/usr/sbin/logread -e  banIP/": [
					"exec"
				],
				"/usr/sbin/nft -tj list ruleset": [
					"exec"
				],
				"/etc/init.d/banip stop": [
					"exec"
				],
				"/etc/init.d/banip reload": [
					"exec"
				],
				"/etc/init.d/banip restart": [
					"exec"
				],
				"/etc/init.d/banip report json": [
					"exec"
				],
				"/etc/init.d/banip search [A-Za-z0-9:.]*": [
					"exec"
				],
				"/etc/init.d/banip survey [A-Za-z0-9]*": [
					"exec"
				],
				"/etc/init.d/banip status": [
					"exec"
				],
				"/etc/init.d/banip lookup": [
					"exec"
				]
			},
			"uci": [
				"banip"
			]
		}
	}
}