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 cde3e9cbb0..0063c458df 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 @@ -5,9 +5,24 @@ "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" ] + + "/usr/bin/mmcli -m [0-9] -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9] -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9][0-9] -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9][0-9][0-9] -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9][0-9][0-9][0-9] -J": [ "exec" ], + + "/usr/bin/mmcli -i [0-9] -J": [ "exec" ], + "/usr/bin/mmcli -i [0-9][0-9] -J": [ "exec" ], + "/usr/bin/mmcli -i [0-9][0-9][0-9] -J": [ "exec" ], + "/usr/bin/mmcli -i [0-9][0-9][0-9][0-9] -J": [ "exec" ], + "/usr/bin/mmcli -i [0-9][0-9][0-9][0-9][0-9] -J": [ "exec" ], + + "/usr/bin/mmcli -m [0-9] --location-get -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9] --location-get -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9][0-9] --location-get -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9][0-9][0-9] --location-get -J": [ "exec" ], + "/usr/bin/mmcli -m [0-9][0-9][0-9][0-9][0-9] --location-get -J": [ "exec" ] } } }