summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorHilman Maulana <hilman0.0maulana@gmail.com>2024-01-14 16:33:37 +0700
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-02-01 18:08:42 +0100
commitfaf6c4f0283f14f2fdc95f298d65f11566c1aefa (patch)
treeb68c7e7b2bf8ea59d8fd37200c0ad7dab9717c8e /applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d
parentf63e8234dbf43edd56424e54ee4e64771eebca03 (diff)
luci-app-cloudflared: configure Cloudflare Zero Trust Tunnel
Configure a tunnel and see logs of the daemon. Signed-off-by: Hilman Maulana <hilman0.0maulana@gmail.com> Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json b/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json
new file mode 100644
index 0000000000..82a9a89a21
--- /dev/null
+++ b/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json
@@ -0,0 +1,16 @@
+{
+ "luci-app-cloudflared": {
+ "description": "Grant access to Cloudflared configuration",
+ "read": {
+ "uci": [ "cloudflared" ],
+ "ubus": {
+ "service": [ "list" ]
+ },
+ "file": [ "/var/log/cloudflared.log" ]
+ },
+ "write": {
+ "uci": [ "cloudflared" ],
+ "file": [ "/etc/cloudflared/" ]
+ }
+ }
+} \ No newline at end of file