summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass/root/usr
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-09-21 18:33:51 +0000
committerStan Grishin <stangri@melmac.net>2020-09-21 18:33:51 +0000
commit053e3952f02319ae5e0d8668cf67ce8c4a8c7f6d (patch)
tree9d60e1d969d516c0117591a5064d1a9263b89ce3 /applications/luci-app-vpnbypass/root/usr
parent073b9ba3bdc932d28dbc49fb005e13bea494e610 (diff)
luci-app-vpnbypass: ACL update
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpnbypass/root/usr')
-rw-r--r--applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json37
1 files changed, 33 insertions, 4 deletions
diff --git a/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json b/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
index 219307e477..6dc1cb6a3f 100644
--- a/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
+++ b/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
@@ -1,11 +1,40 @@
{
"luci-app-vpnbypass": {
- "description": "Grant UCI access for luci-app-vpnbypass",
+ "description": "Grant UCI and file access for luci-app-vpnbypass",
"read": {
- "uci": [ "dhcp", "vpnbypass" ]
+ "cgi-io": [
+ "exec"
+ ],
+ "file": {
+ "/usr/lib/opkg/status": [
+ "read"
+ ],
+ "/etc/init.d/vpnbypass *": [
+ "exec"
+ ],
+ "/etc/init.d/dnsmasq restart *": [
+ "exec"
+ ],
+ "/usr/bin/grep *": [
+ "exec"
+ ],
+ "/usr/sbin/grep *": [
+ "exec"
+ ],
+ "/usr/sbin/iptables *": [
+ "exec"
+ ]
+ },
+ "uci": [
+ "dhcp",
+ "vpnbypass"
+ ]
},
"write": {
- "uci": [ "dhcp", "vpnbypass" ]
+ "uci": [
+ "dhcp",
+ "vpnbypass"
+ ]
}
}
-}
+} \ No newline at end of file