diff options
author | Stan <stangri@melmac.net> | 2020-06-03 08:27:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 08:27:38 -0700 |
commit | 96a787999bf2b0313710101bb30cd42bbb2998da (patch) | |
tree | d3f6a44bf2dde07567a69ed88ddb9f2c6bf6e7db /applications/luci-app-simple-adblock/root | |
parent | 2544b20db61e675f15c040b75a2222fd0ffc7170 (diff) | |
parent | 676032fb19616cdaef9703504698becd09a65e28 (diff) |
Merge pull request #4101 from stangri/master-luci-app-simple-adblock
luci-app-simple-adblock: bugfix: proper processing of failed downloads; decrease reliance on shell commands; proper acl.d file
Diffstat (limited to 'applications/luci-app-simple-adblock/root')
-rw-r--r-- | applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json b/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json index 8a890532bb..eb579e8a44 100644 --- a/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json +++ b/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json @@ -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 |