summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-08-29 18:42:10 +0000
committerStan Grishin <stangri@melmac.ca>2023-09-03 20:55:48 +0000
commit6df7b92a50485d7a7c61c38c5abeaf96ad69a28c (patch)
tree3a53c52209eb562ed154a3d2a35b37ba25354121 /applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d
parent48f0fc85f3e784a7411ffecfa0002f3acb692ac7 (diff)
luci-app-https-dns-proxy: rewrite in javascript
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json27
1 files changed, 14 insertions, 13 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 97f8c6df41..6603d3596a 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
@@ -2,28 +2,29 @@
"luci-app-https-dns-proxy": {
"description": "Grant UCI and file access for luci-app-https-dns-proxy",
"read": {
- "cgi-io": [
- "exec"
- ],
- "file": {
- "/usr/lib/opkg/status": [
- "read"
- ],
- "/usr/lib/lua/luci/https-dns-proxy/providers/*": [
- "read"
- ],
- "/etc/init.d/https-dns-proxy *": [
- "exec"
+ "ubus": {
+ "luci.https-dns-proxy": [
+ "getInitList",
+ "getInitStatus",
+ "getPlatformSupport",
+ "getProviders",
+ "getRuntime"
]
},
"uci": [
+ "dhcp",
"https-dns-proxy"
]
},
"write": {
"uci": [
"https-dns-proxy"
- ]
+ ],
+ "ubus": {
+ "luci.https-dns-proxy": [
+ "setInitAction"
+ ]
+ }
}
}
}