summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/root
diff options
context:
space:
mode:
authorStan <stangri@melmac.net>2020-06-02 06:18:29 -0700
committerGitHub <noreply@github.com>2020-06-02 06:18:29 -0700
commit068449bf15cbf30c4461b2b9d48fe999e9ed642c (patch)
treeff77fa37e693faded43128755466fb9fa8ce5899 /applications/luci-app-https-dns-proxy/root
parent09014e01ab570a7b73d6b3f5d2f1a88bf7a763b4 (diff)
parentb92be52d89d6cb21a3f3a114a006d173d1598433 (diff)
Merge pull request #4117 from stangri/master-luci-app-https-dns-proxy
luci-app-https-dns-proxy: decrease reliance on shell commands; proper acl.d file; add cloudflare family/protect
Diffstat (limited to 'applications/luci-app-https-dns-proxy/root')
-rw-r--r--applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json27
1 files changed, 24 insertions, 3 deletions
diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json b/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json
index 0886cc885a..bcd4c5fd7d 100644
--- a/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json
+++ b/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json
@@ -1,11 +1,32 @@
{
"luci-app-https-dns-proxy": {
- "description": "Grant UCI access for luci-app-https-dns-proxy",
+ "description": "Grant UCI and file access for luci-app-https-dns-proxy",
"read": {
- "uci": [ "https-dns-proxy" ]
+ "cgi-io": [
+ "exec"
+ ],
+ "file": {
+ "/usr/lib/opkg/status": [
+ "read"
+ ],
+ "/usr/lib/lua/luci/https-dns-proxy/providers/*": [
+ "read"
+ ],
+ "/etc/init.d/dnsmasq *": [
+ "exec"
+ ],
+ "/etc/init.d/https-dns-proxy *": [
+ "exec"
+ ]
+ },
+ "uci": [
+ "https-dns-proxy"
+ ]
},
"write": {
- "uci": [ "https-dns-proxy" ]
+ "uci": [
+ "https-dns-proxy"
+ ]
}
}
}