luci-app-https-dns-proxy: decrease reliance on shell commands; proper acl.d file...
[oweals/luci.git] / applications / luci-app-https-dns-proxy / root / usr / share / rpcd / acl.d / luci-app-https-dns-proxy.json
1 {
2         "luci-app-https-dns-proxy": {
3                 "description": "Grant UCI and file access for luci-app-https-dns-proxy",
4                 "read": {
5                         "cgi-io": [
6                                 "exec"
7                         ],
8                         "file": {
9                                 "/usr/lib/opkg/status": [
10                                         "read"
11                                 ],
12                                 "/usr/lib/lua/luci/https-dns-proxy/providers/*": [
13                                         "read"
14                                 ],
15                                 "/etc/init.d/dnsmasq *": [
16                                         "exec"
17                                 ],
18                                 "/etc/init.d/https-dns-proxy *": [
19                                         "exec"
20                                 ]
21                         },
22                         "uci": [
23                                 "https-dns-proxy"
24                         ]
25                 },
26                 "write": {
27                         "uci": [
28                                 "https-dns-proxy"
29                         ]
30                 }
31         }
32 }