summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-18 21:32:48 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-18 21:33:29 +0100
commit3a657b8ab585f6e0fef5c9128dc84c5a008a6969 (patch)
treee97c804ffd2acf0e0d04a5dd6405091f05934302 /modules/luci-base/root/usr/share/rpcd
parente884b63916ebf6d1a7e4f7c92240a76964ecaa85 (diff)
luci-mod-network: replace controller address check action with cgi-io script
This change removes the last bit of Lua code from luci-mod-network. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr/share/rpcd')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
index e215cf9455..298b5ed336 100644
--- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
+++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
@@ -20,7 +20,7 @@
"luci-access": {
"description": "Grant access to basic LuCI procedures",
"read": {
- "cgi-io": [ "backup", "download" ],
+ "cgi-io": [ "backup", "download", "exec" ],
"file": {
"/": [ "list" ],
"/*": [ "list" ],
@@ -47,7 +47,8 @@
"/usr/bin/ping6 *": [ "exec" ],
"/usr/bin/traceroute *": [ "exec" ],
"/usr/bin/traceroute6 *": [ "exec" ],
- "/usr/bin/nslookup *": [ "exec" ]
+ "/usr/bin/nslookup *": [ "exec" ],
+ "/usr/libexec/luci-peeraddr": [ "exec" ]
},
"ubus": {
"file": [ "list", "read", "stat" ],