summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2023-07-03 11:55:08 +0200
committerGitHub <noreply@github.com>2023-07-03 11:55:08 +0200
commit51d9b9d33f35c5c1452909677a75b6ac7ccf6de6 (patch)
treee943a65f5d4510d0e38c591afd3937f058a517e8 /protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json
parentb06de7e4a11c5d17c8a1334b7806ba1ea90de3ca (diff)
parent594bc35b870c09ea47a66a59c5dfafd47b9b17d5 (diff)
Merge pull request #6451 from lvoegl/pr/20230602-proto-modemmanager-status
luci-proto-modemmanager: add status page
Diffstat (limited to 'protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json')
-rw-r--r--protocols/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json8
1 files changed, 4 insertions, 4 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
index e3d5df7bec..cde3e9cbb0 100644
--- 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
@@ -4,10 +4,10 @@
"read": {
"cgi-io": [ "exec" ],
"file": {
- "/usr/bin/mmcli -L": [ "exec" ],
- "/usr/bin/mmcli -m [0-9]": [ "exec" ],
- "/usr/bin/mmcli -m [0-9][0-9]": [ "exec" ],
- "/usr/bin/mmcli -m [0-9][0-9][0-9]": [ "exec" ]
+ "/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" ]
}
}
}