secubox-openwrt/luci-app-wireguard-dashboard/root/usr/share/rpcd/acl.d/luci-app-wireguard-dashboard.json

21 lines
486 B
JSON

{
"luci-app-wireguard-dashboard": {
"description": "Grant access to LuCI WireGuard Dashboard",
"read": {
"ubus": {
"wireguard-dashboard": [ "status", "interfaces", "peers", "traffic", "config" ],
"system": [ "info", "board" ],
"file": [ "read", "stat", "exec" ]
},
"uci": [ "network", "wireguard-dashboard" ],
"file": {
"/etc/config/network": [ "read" ],
"/usr/bin/wg": [ "exec" ]
}
},
"write": {
"uci": [ "wireguard-dashboard" ]
}
}
}