1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00
openmptcprouter-feeds/luci-proto-modemmanager/root/usr/share/rpcd/acl.d/luci-proto-modemmanager.json
Ycarus (Yannick Chabanois) ebce49935a Add ACL for ModemManager Ubus
2024-10-29 09:34:12 +01:00

17 lines
380 B
JSON

{
"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" ]
},
"ubus": {
"modemmanager": [ "*" ]
}
}
}
}