Merge pull request #5165 from aparcar/fix-acl

luci-app-attendedsysupgrade: fix ACL definition
This commit is contained in:
Jo-Philipp Wich 2021-07-04 11:31:16 +02:00 committed by GitHub
commit e17180d350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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