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>
This commit is contained in:
parent
f1f566bfe2
commit
02de3e4a2b
1 changed files with 25 additions and 6 deletions
|
@ -2,16 +2,35 @@
|
||||||
"luci-app-attendedsysupgrade": {
|
"luci-app-attendedsysupgrade": {
|
||||||
"description": "Grant UCI access to LuCI app attendedsysupgrade",
|
"description": "Grant UCI access to LuCI app attendedsysupgrade",
|
||||||
"read": {
|
"read": {
|
||||||
"uci": ["attendedsysupgrade"],
|
|
||||||
"ubus": {
|
"ubus": {
|
||||||
"rpc-sys": ["upgrade_start", "packagelist"]
|
"rpc-sys": [
|
||||||
}
|
"upgrade_start",
|
||||||
|
"packagelist"
|
||||||
|
],
|
||||||
|
"system": [
|
||||||
|
"board",
|
||||||
|
"info"
|
||||||
|
],
|
||||||
|
"uci": [
|
||||||
|
"get"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"uci": [
|
||||||
|
"attendedsysupgrade"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"write": {
|
"write": {
|
||||||
"uci": ["attendedsysupgrade"],
|
"cgi-io": [
|
||||||
|
"upload"
|
||||||
|
],
|
||||||
"ubus": {
|
"ubus": {
|
||||||
"rpc-sys": ["upgrade_start"]
|
"uci": [
|
||||||
}
|
"set", "commit"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"uci": [
|
||||||
|
"attendedsysupgrade"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue