0
0
mirror of https://github.com/openwrt/luci.git synced 2025-01-19 00:12:33 +00:00
Sergey Ponomarev 9551c03f68 luci-app-cloudflared: fix ACL for uploading a file
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-02-07 15:47:10 +01:00

22 lines
429 B
JSON

{
"luci-app-cloudflared": {
"description": "Grant access to Cloudflared configuration",
"read": {
"uci": [ "cloudflared" ],
"ubus": {
"service": [ "list" ]
},
"file": {
"/etc/cloudflared/*": [ "read" ],
"/var/log/cloudflared.log": [ "read" ]
}
},
"write": {
"uci": [ "cloudflared" ],
"file": {
"/etc/cloudflared/*": [ "write" ],
"/usr/bin/cloudflared *": [ "exec" ]
}
}
}
}