summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json
blob: 287110f4d5417e0e170708df7336b7a43ae2dbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
	"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" ]
			}
		}
	}
}