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)
This commit is contained in:
parent
1dd9ca363d
commit
2d8cde2c72
@ -2,16 +2,35 @@
|
||||
"luci-app-attendedsysupgrade": {
|
||||
"description": "Grant UCI access to LuCI app attendedsysupgrade",
|
||||
"read": {
|
||||
"uci": ["attendedsysupgrade"],
|
||||
"ubus": {
|
||||
"rpc-sys": ["upgrade_start", "packagelist"]
|
||||
}
|
||||
"rpc-sys": [
|
||||
"upgrade_start",
|
||||
"packagelist"
|
||||
],
|
||||
"system": [
|
||||
"board",
|
||||
"info"
|
||||
],
|
||||
"uci": [
|
||||
"get"
|
||||
]
|
||||
},
|
||||
"uci": [
|
||||
"attendedsysupgrade"
|
||||
]
|
||||
},
|
||||
"write": {
|
||||
"uci": ["attendedsysupgrade"],
|
||||
"cgi-io": [
|
||||
"upload"
|
||||
],
|
||||
"ubus": {
|
||||
"rpc-sys": ["upgrade_start"]
|
||||
}
|
||||
"uci": [
|
||||
"set", "commit"
|
||||
]
|
||||
},
|
||||
"uci": [
|
||||
"attendedsysupgrade"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user