summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json
blob: 78fbb1c509fdbe18420c0d704f6368b4fbbbd7a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
	"luci-app-smartdns": {
		"description": "Grant access to LuCI app smartdns",
		"read": {
			"file": {
				"/etc/smartdns/*": [ "read" ],
				"/usr/sbin/iptables -t nat -nL PREROUTING": [ "exec" ],
				"/usr/sbin/ip6tables -t nat -nL PREROUTING": [ "exec" ],
				"/usr/sbin/smartdns": [ "exec" ]
			},
			"ubus": {
				"service": [ "list" ]
			},
			"uci": [ "smartdns" ]
		},
		"write": {
			"file": {
				"/etc/smartdns/*": [ "write" ]
			},
			"uci": [ "smartdns" ]
		}
	}
}