summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-modemmanager/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-modemmanager/root/usr/share/rpcd')
-rw-r--r--protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json12
1 files changed, 12 insertions, 0 deletions
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" ]
+ }
+ }
+ }
+}