summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json31
1 files changed, 25 insertions, 6 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
index e3ceeaa35d..ec102e3dad 100644
--- a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
+++ b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
@@ -2,16 +2,35 @@
"luci-app-attendedsysupgrade": {
"description": "Grant UCI access to LuCI app attendedsysupgrade",
"read": {
- "uci": ["attendedsysupgrade"],
"ubus": {
- "rpc-sys": ["upgrade_start", "packagelist"]
- }
+ "rpc-sys": [
+ "upgrade_start",
+ "packagelist"
+ ],
+ "system": [
+ "board",
+ "info"
+ ],
+ "uci": [
+ "get"
+ ]
+ },
+ "uci": [
+ "attendedsysupgrade"
+ ]
},
"write": {
- "uci": ["attendedsysupgrade"],
+ "cgi-io": [
+ "upload"
+ ],
"ubus": {
- "rpc-sys": ["upgrade_start"]
- }
+ "uci": [
+ "set", "commit"
+ ]
+ },
+ "uci": [
+ "attendedsysupgrade"
+ ]
}
}
}