luci-app-attendedsysupgrade: use common
[project/luci.git] / applications / luci-app-attendedsysupgrade / root / usr / share / rpcd / acl.d / attendedsysupgrade.json
index 85d6e94..97aa814 100644 (file)
@@ -3,23 +3,26 @@
                "description": "attended sysupgrade via rpcd and luci",
                "read": {
                        "ubus": {
-                               "attendedsysupgrade": [
-                                       "sysupgrade"
+                               "rpc-sys": [
+                                       "upgrade_start"
                                ],
                                "system": [
                                        "board"
                                ],
                                "uci": [
-                                       "get"
+                                       "get", "set", "commit"
                                ]
                        },
                        "uci": [
-                               "*"
+                               "attendedsysupgrade"
                        ]
                },
                "write": {
                        "cgi-io": [
                                "upload"
+                       ],
+                       "uci": [
+                               "attendedsysupgrade"
                        ]
                }
        }