mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 15:36:22 +04:00
Merge pull request #5165 from aparcar/fix-acl
luci-app-attendedsysupgrade: fix ACL definition
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user