summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json
blob: f03d0d1a458b921eb897e427275538d9bd9b51a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
	"luci-app-uhttpd": {
		"description": "Grant UCI access for luci-app-uhttpd",
		"read": {
			"uci": ["uhttpd"],
			"file": {
				"/*": ["read"],
				"/etc/init.d/uhttpd restart": ["exec"]
			}
		},
		"write": {
			"uci": ["uhttpd"],
			"file": {
				"/etc/luci-uploads/*": ["write"],
				"/etc/uhttpd.key": ["write"],
				"/etc/uhttpd.crt": ["write"]
			}
		}
	}
}