- Add RPCD methods to mitmproxy: settings, save_settings, set_mode, setup_firewall, clear_firewall - Add apply_now parameter to tor-shield save_settings to restart service and apply iptables rules immediately - Update ACL files with new permissions - Add Save & Apply button to tor-shield settings page - Update api.js files to use correct RPCD method signatures Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
859 B
JSON
43 lines
859 B
JSON
{
|
|
"luci-app-wireguard-dashboard": {
|
|
"description": "Grant access to LuCI WireGuard Dashboard",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.wireguard-dashboard": [
|
|
"status",
|
|
"interfaces",
|
|
"peers",
|
|
"config",
|
|
"traffic",
|
|
"peer_descriptions",
|
|
"bandwidth_rates",
|
|
"bandwidth_history",
|
|
"endpoint_info"
|
|
],
|
|
"system": [ "info", "board" ],
|
|
"file": [ "read", "stat", "exec" ]
|
|
},
|
|
"uci": [ "network", "wireguard-dashboard" ],
|
|
"file": {
|
|
"/etc/config/network": [ "read" ],
|
|
"/usr/bin/wg": [ "exec" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.wireguard-dashboard": [
|
|
"generate_keys",
|
|
"create_interface",
|
|
"add_peer",
|
|
"remove_peer",
|
|
"generate_config",
|
|
"generate_qr",
|
|
"interface_control",
|
|
"ping_peer"
|
|
]
|
|
},
|
|
"uci": [ "wireguard-dashboard", "network" ]
|
|
}
|
|
}
|
|
}
|