summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json
blob: 8095a17fdab5c9de28c4419d9c92822dd6cf6cc8 (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
{
	"luci-app-tor": {
		"description": "Grant UCI access for luci-app-tor",
		"read": {
			"ubus": {
				"tor-hs-rpc": [
					"list-hs"
				]
			},
			"uci": [
				"tor",
				"tor-hs"
			]
		},
		"write": {
			"uci": [
				"tor",
				"tor-hs"
			],
			"file": {
				"/etc/tor/*": [ "write" ]
			}
		}
	}
}