luci/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json
Paul Spooren 4891deaf94 luci-app-attendedsysupgrade: use common
use attendedsysupgrade-common package and rpc-sys instead of
rpcd-mod-attendedsysupgrade

luci-app-attendedsysupgrade: editable server url

the server url can now be changed. The solution is kept as simple as
possible to not introduce any lua code.

Small cleanup, but needs a refactoring.

Add acl rights to edit the attendedsysupgrade file

Add cgi-io as a dependencie to upload image to router

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-11-12 03:09:33 +01:00

29 lines
389 B
JSON

{
"attendedsysupgrade": {
"description": "attended sysupgrade via rpcd and luci",
"read": {
"ubus": {
"rpc-sys": [
"upgrade_start"
],
"system": [
"board"
],
"uci": [
"get", "set", "commit"
]
},
"uci": [
"attendedsysupgrade"
]
},
"write": {
"cgi-io": [
"upload"
],
"uci": [
"attendedsysupgrade"
]
}
}
}