diff options
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/root')
-rw-r--r-- | applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json b/applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json index 64e73de9c..5cdb67f77 100644 --- a/applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json +++ b/applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json @@ -1,11 +1,36 @@ { "luci-app-vpn-policy-routing": { - "description": "Grant UCI access for luci-app-vpn-policy-routing", + "description": "Grant UCI and file access for luci-app-vpn-policy-routing", "read": { - "uci": [ "vpn-policy-routing" ] + "cgi-io": [ + "exec" + ], + "file": { + "/usr/lib/opkg/status": [ + "read" + ], + "/etc/init.d/vpn-policy-routing *": [ + "exec" + ], + "/usr/bin/grep *": [ + "exec" + ], + "/usr/sbin/grep *": [ + "exec" + ], + "/usr/sbin/iptables *": [ + "exec" + ] + }, + "uci": [ + "network", + "vpn-policy-routing" + ] }, "write": { - "uci": [ "vpn-policy-routing" ] + "uci": [ + "vpn-policy-routing" + ] } } -} +}
\ No newline at end of file |