summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json
blob: d4c693f48d6b92f4b44de3dfd782a5e20fa8f396 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
	"luci-app-banip": {
		"description": "Grant access to LuCI app banIP",
		"write": {
			"cgi-io": [
				"upload"
			],
			"ubus": {
				"file": [
					"write"
				]
			},
			"uci": [
				"banip"
			],
			"file": {
				"/etc/banip/banip.allowlist": [
					"write"
				],
				"/etc/banip/banip.blocklist": [
					"write"
				],
				"/etc/banip/banip.custom.feeds": [
					"write"
				],
				"/var/run/banIP/banIP.search": [
					"write"
				],
				"/tmp/run/banIP/banIP.search": [
					"write"
				],
				"/var/run/banIP/banIP.report": [
					"write"
				],
				"/tmp/run/banIP/banIP.report": [
					"write"
				]
			}
		},
		"read": {
			"cgi-io": [
				"download",
				"exec"
			],
			"file": {
				"/etc/banip/*": [
					"read",
					"list"
				],
				"/var/run/banIP/banIP.runtime.json": [
					"read",
					"list"
				],
				"/tmp/run/banIP/banIP.runtime.json": [
					"read",
					"list"
				],
				"/var/run/banIP/banIP.search": [
					"read"
				],
				"/tmp/run/banIP/banIP.search": [
					"read"
				],
				"/var/run/banIP/banIP.report": [
					"read"
				],
				"/tmp/run/banIP/banIP.report": [
					"read"
				],
				"/usr/sbin/nft -tj list sets": [
					"exec"
				],
				"/etc/init.d/banip stop": [
					"exec"
				],
				"/etc/init.d/banip reload": [
					"exec"
				],
				"/etc/init.d/banip restart": [
					"exec"
				],
				"/etc/init.d/banip actual": [
					"exec"
				],
				"/etc/init.d/banip report json": [
					"exec"
				],
				"/etc/init.d/banip report gen": [
					"exec"
				],
				"/etc/init.d/banip search *": [
					"exec"
				],
				"/etc/init.d/banip content *": [
					"exec"
				]
			},
			"ubus": {
				"file": [
					"read",
					"stat"
				]
			},
			"uci": [
				"banip"
			],
			"log": [
				"read"
			]
		}
	}
}