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>
36 lines
483 B
JSON
36 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"
|
|
]
|
|
}
|
|
}
|
|
}
|