summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-10-31 16:38:31 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-01 12:03:33 +0100
commitc85af3d7618b55c499ce4bf58e3896068bd413ae (patch)
tree5a147a914a07ae6e3098bc7da6ff89fa2bdd35fd /modules/luci-base/root
parent5ce16764ad3212367547555dbbfe9c5f4f221118 (diff)
luci-mod-status: reimplement index status page as client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json9
1 files changed, 6 insertions, 3 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 e757beab6..880a63394 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
@@ -36,16 +36,18 @@
"/proc/mtd": [ "read" ],
"/proc/partitions": [ "read" ],
"/proc/sys/kernel/hostname": [ "read" ],
- "/proc/mounts": [ "read" ]
+ "/proc/sys/net/netfilter/nf_conntrack_*": [ "read" ],
+ "/proc/mounts": [ "read" ],
+ "/usr/lib/lua/luci/version.lua": [ "read" ]
},
"ubus": {
"file": [ "list", "read", "stat" ],
"iwinfo": [ "assoclist", "freqlist", "txpowerlist", "countrylist" ],
"luci": [ "getDUIDHints", "getInitList", "getLocaltime", "getTimezones", "getLEDs", "getUSBDevices", "getSwconfigFeatures", "getSwconfigPortState", "getBlockDevices", "getMountPoints" ],
- "luci-rpc": [ "getBoardJSON", "getDHCPLeases", "getHostHints", "getNetworkDevices", "getWirelessDevices" ],
+ "luci-rpc": [ "getBoardJSON", "getDHCPLeases", "getDSLStatus", "getHostHints", "getNetworkDevices", "getWirelessDevices" ],
"network.interface": [ "dump" ],
"network": [ "get_proto_handlers" ],
- "system": [ "validate_firmware_image" ],
+ "system": [ "board", "info", "validate_firmware_image" ],
"uci": [ "changes", "get" ]
},
"uci": [ "*" ]
@@ -69,6 +71,7 @@
},
"ubus": {
"file": [ "write", "remove", "exec" ],
+ "hostapd.*": [ "del_client" ],
"iwinfo": [ "scan" ],
"luci": [ "setInitAction", "setLocaltime", "setPassword", "setBlockDetect" ],
"uci": [ "add", "apply", "confirm", "delete", "order", "set", "rename" ]