Merge pull request #1495 from dibdot/travelmate
[project/luci.git] / applications / luci-app-attendedsysupgrade / root / usr / share / rpcd / acl.d / attendedsysupgrade.json
index 85d6e94..7549319 100644 (file)
@@ -3,23 +3,28 @@
                "description": "attended sysupgrade via rpcd and luci",
                "read": {
                        "ubus": {
-                               "attendedsysupgrade": [
-                                       "sysupgrade"
+                               "rpc-sys": [
+                                       "upgrade_start",
+                                       "packagelist"
                                ],
                                "system": [
-                                       "board"
+                                       "board",
+                                       "info"
                                ],
                                "uci": [
-                                       "get"
+                                       "get", "set", "commit"
                                ]
                        },
                        "uci": [
-                               "*"
+                               "attendedsysupgrade"
                        ]
                },
                "write": {
                        "cgi-io": [
                                "upload"
+                       ],
+                       "uci": [
+                               "attendedsysupgrade"
                        ]
                }
        }