summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json')
-rw-r--r--applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json38
1 files changed, 11 insertions, 27 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 6dc1cb6a3f..3e3e06745c 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
@@ -2,39 +2,23 @@
"luci-app-vpnbypass": {
"description": "Grant UCI and file access for luci-app-vpnbypass",
"read": {
- "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"
+ "ubus": {
+ "luci.vpnbypass": [
+ "getInitList",
+ "getInitStatus"
]
},
"uci": [
- "dhcp",
- "vpnbypass"
+ "vpnbypass",
+ "dnsmasq"
]
},
"write": {
- "uci": [
- "dhcp",
- "vpnbypass"
- ]
+ "ubus": {
+ "luci.vpnbypass": [
+ "setInitAction"
+ ]
+ }
}
}
} \ No newline at end of file