diff options
author | Stan Grishin <stangri@melmac.net> | 2020-09-21 18:37:02 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-09-21 18:37:02 +0000 |
commit | b0fe4bf371b21e05b03e8c4a875d80a198dd3d45 (patch) | |
tree | 9d6137d760ccc85b93c91e4ddbcb28afe3a7258b /applications/luci-app-vpn-policy-routing/root/usr | |
parent | 073b9ba3bdc932d28dbc49fb005e13bea494e610 (diff) |
luci-app-vpn-policy-routing: ACL-related update
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/root/usr')
-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 64e73de9cc..5cdb67f77d 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 |