summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json
blob: cde3e9cbb013389f95bb26a23560017ea0be31b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
	"luci-proto-modemmanager": {
		"description": "Grant access to mmcli",
		"read": {
			"cgi-io": [ "exec" ],
			"file": {
				"/usr/bin/mmcli -L -J": [ "exec" ],
				"/usr/bin/mmcli -m [0-9]* -J": [ "exec" ],
				"/usr/bin/mmcli -i [0-9]* -J": [ "exec" ],
				"/usr/bin/mmcli -m [0-9]* --location-get -J": [ "exec" ]
			}
		}
	}
}