0
0
mirror of https://github.com/openwrt/luci.git synced 2025-01-19 02:32:09 +00:00
Van Waholtz 9dda104ee7 luci-app-aria2: convert to client side
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2021-11-17 15:36:41 +08:00

21 lines
367 B
JSON

{
"luci-app-aria2": {
"description": "Grant UCI access for luci-app-aria2",
"read": {
"ubus": {
"service": [ "list" ]
},
"file": {
"/etc/passwd": [ "read" ],
"/sbin/logread": [ "exec" ],
"/usr/bin/aria2c": [ "exec" ],
"/usr/libexec/aria2-call": [ "exec" ]
},
"uci": [ "aria2" ]
},
"write": {
"uci": [ "aria2" ]
}
}
}