summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json
blob: 8c4cd01249cb6c9a7e67e93cbc1d7b14d7b906ab (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-smartdns": {
		"description": "Grant access to LuCI app smartdns",
		"read": {
			"file": {
				"/etc/smartdns/*": [ "read" ]
			},
			"ubus": {
				"service": [ "list" ]
			},
			"uci": [ "smartdns" ]
		},
		"write": {
			"file": {
				"/etc/smartdns/*": [ "write" ],
				"/etc/init.d/smartdns restart": [ "exec" ],
				"/etc/init.d/smartdns updatefiles": [ "exec" ]
			},
			"uci": [ "smartdns" ]
		}
	}
}