summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cloudflared/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-cloudflared/root/usr/share/rpcd')
-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