summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/root/usr/share')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json10
1 files changed, 10 insertions, 0 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 2804cc7003..57e0ae384b 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,12 @@
"luci-access": {
"description": "Grant access to basic LuCI procedures",
"read": {
+ "file": {
+ "/": [ "list" ],
+ "/*": [ "list" ]
+ },
"ubus": {
+ "file": [ "list", "stat" ],
"iwinfo": [ "assoclist" ],
"luci": [ "getBoardJSON", "getDUIDHints", "getHostHints", "getIfaddrs", "getInitList", "getLocaltime", "getTimezones", "getDHCPLeases", "getLEDs", "getNetworkDevices", "getUSBDevices", "getHostname", "getTTYDevices", "getWirelessDevices" ],
"network.device": [ "status" ],
@@ -32,7 +37,12 @@
"uci": [ "*" ]
},
"write": {
+ "cgi-io": [ "upload", "/etc/luci-uploads/*" ],
+ "file": {
+ "/etc/luci-uploads/*": [ "write" ]
+ },
"ubus": {
+ "file": [ "remove" ],
"iwinfo": [ "scan" ],
"luci": [ "setInitAction", "setLocaltime" ],
"uci": [ "add", "apply", "confirm", "delete", "order", "set" ]