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