luci/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
Paul Spooren 02de3e4a2b 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>
2021-07-02 09:22:59 -10:00

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"
]
}
}
}