Paul Spooren 2d8cde2c72 luci-app-attendedsysupgrade: fix ACL definition
Fix the ACL file which handles the permissions for the LuCI app.

Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 02de3e4a2b08d2fb9d4f08b83a2526337671b6e2)
2021-07-26 14:02:22 +02:00

37 lines
483 B
JSON

{
"luci-app-attendedsysupgrade": {
"description": "Grant UCI access to LuCI app attendedsysupgrade",
"read": {
"ubus": {
"rpc-sys": [
"upgrade_start",
"packagelist"
],
"system": [
"board",
"info"
],
"uci": [
"get"
]
},
"uci": [
"attendedsysupgrade"
]
},
"write": {
"cgi-io": [
"upload"
],
"ubus": {
"uci": [
"set", "commit"
]
},
"uci": [
"attendedsysupgrade"
]
}
}
}