luci-app-https-dns-proxy: rewrite in javascript
[project/luci.git] / applications / luci-app-https-dns-proxy / root / usr / share / rpcd / acl.d / luci-app-https-dns-proxy.json
index 97f8c6df4150260ac05fb8e55b356149597f1698..6603d3596a58e4100565361b5257dd688746a6b8 100644 (file)
@@ -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"
+                               ]
+                       }
                }
        }
 }