summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sshtunnel/root/usr/share/rpcd/acl.d/luci-app-sshtunnel.json
blob: 5dfb1405c77e6669640b40ddfada1f59cee22d50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
	"luci-app-sshtunnel": {
		"description": "Grant UCI access for luci-app-sshtunnel",
		"read": {
			"file": {
				"/root/.ssh/": [ "list" ],
				"/root/.ssh/*.pub": [ "read" ],
				"/root/.ssh/known_hosts": [ "read" ],
				"/usr/bin/ssh-keygen": [ "list" ],
				"/usr/bin/ssh-keygen *": [ "exec" ],
				"/usr/bin/dropbearkey": [ "list" ],
				"/usr/bin/dropbearkey *": [ "exec" ]
			},
			"uci": [ "sshtunnel" ]
		},
		"write": {
			"uci": [ "sshtunnel" ]
		}
	}
}