summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2021-03-10 04:32:00 +0000
committerStan Grishin <stangri@melmac.net>2021-03-14 02:34:01 +0000
commitd35cdc9dcc0e95e360a94a7b1c87df198768ac64 (patch)
treef34c44768bd89690bb81f3d9915a6b2d140c7638 /applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
parent2516852100eb6b115c0ad90883dfc5cfda16e076 (diff)
luci-app-vpnbypass: transition to client-side rendering
Signed-off-by: Stan Grishin <stangri@melmac.net>
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