Skip to content

Commit

Permalink
luci-app-cloudflared: fix ACL for uploading a file
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
  • Loading branch information
stokito committed Feb 4, 2024
1 parent 691a8ce commit c49d4f0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@
"service": [ "list" ]
},
"file": {
"/var/log/cloudflared.log": [ "read" ],
"/usr/bin/cloudflared *": [ "exec" ]
"/etc/cloudflared/*": [ "read" ],
"/var/log/cloudflared.log": [ "read" ]
}
},
"write": {
"uci": [ "cloudflared" ],
"file": [ "/etc/cloudflared/" ]
"file": {
"/etc/cloudflared/*": [ "write" ],
"/usr/bin/cloudflared *": [ "exec" ]
}
}
}
}

0 comments on commit c49d4f0

Please sign in to comment.