luci-app-simple-adblock: bugfix: proper processing of failed dowloads; decrease relia...
[project/luci.git] / applications / luci-app-simple-adblock / root / usr / share / rpcd / acl.d / luci-app-simple-adblock.json
index 8a890532bbe0249f92aeef312a92d1c45bfc2ff8..eb579e8a44ddcd29693355fa3314ad48c1e4e275 100644 (file)
@@ -1,11 +1,38 @@
 {
        "luci-app-simple-adblock": {
-               "description": "Grant UCI access for luci-app-simple-adblock",
+               "description": "Grant UCI and file access for luci-app-simple-adblock",
                "read": {
-                       "uci": [ "simple-adblock" ]
+                       "cgi-io": [
+                               "exec"
+                       ],
+                       "file": {
+                               "/usr/lib/opkg/status": [
+                                       "read"
+                               ],
+                               "/sys/class/leds/*": [
+                                       "read"
+                               ],
+                               "/var/run/simple-adblock.*": [
+                                       "read"
+                               ],
+                               "/etc/init.d/simple-adblock *": [
+                                       "exec"
+                               ],
+                               "/usr/sbin/dnsmasq *": [
+                                       "exec"
+                               ],
+                               "/usr/sbin/ipset *": [
+                                       "exec"
+                               ]
+                       },
+                               "uci": [
+                               "simple-adblock"
+                       ]
                },
                "write": {
-                       "uci": [ "simple-adblock" ]
+                       "uci": [
+                               "simple-adblock"
+                       ]
                }
        }
-}
+}
\ No newline at end of file