From 58c091ac9b2fc8c63cc3f6332da7f6507904ab12 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 8 Feb 2020 11:28:14 +0100 Subject: luci-proto-modemmanager: use nmcli to detemrine modem choices Fixes: #3586 Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json (limited to 'protocols/luci-proto-modemmanager/root/usr') diff --git a/protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json b/protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json new file mode 100644 index 0000000000..716f4c4655 --- /dev/null +++ b/protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json @@ -0,0 +1,12 @@ +{ + "luci-proto-modemmanager": { + "description": "Grant access to mmcli", + "read": { + "cgi-io": [ "exec" ], + "file": { + "/usr/bin/mmcli -L": [ "exec" ], + "/usr/bin/mmcli -m [0-9]": [ "exec" ] + } + } + } +} -- cgit v1.2.3