secubox-openwrt/package/secubox/luci-app-secubox-netdiag/root/usr/share/rpcd/acl.d/luci-app-secubox-netdiag.json
CyberMind-FR 9435cc6282 feat(ollama,netdiag): KISS UI rewrite and thermal monitoring
Ollama:
- Complete KISS UI rewrite with simplified dashboard
- RPC declarations without expect clauses for reliability
- Service controls, model management, and chat interface

Network Diagnostics:
- Add temperature display with color-coded thresholds
- Add error collection and export functionality
- Add port mode switching (speed/duplex/EEE)
- Add collect_errors, get_port_modes, get_temperature RPC methods
- Add set_port_mode RPC method for port configuration
- Fix ACL permissions for new methods

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 09:41:30 +01:00

27 lines
837 B
JSON

{
"luci-app-secubox-netdiag": {
"description": "Grant access to SecuBox Network Diagnostics",
"read": {
"ubus": {
"luci.secubox-netdiag": ["get_switch_status", "get_interface_details", "get_error_history", "get_topology", "collect_errors", "get_port_modes", "get_temperature"]
},
"file": {
"/sys/class/net/*/statistics/*": ["read"],
"/sys/class/net/*/carrier": ["read"],
"/sys/class/net/*/operstate": ["read"],
"/sys/class/net/*/address": ["read"],
"/sys/class/net/*/mtu": ["read"],
"/sys/class/thermal/thermal_zone*/temp": ["read"],
"/sys/class/thermal/thermal_zone*/type": ["read"],
"/sys/class/hwmon/hwmon*/temp*": ["read"],
"/sys/class/hwmon/hwmon*/name": ["read"]
}
},
"write": {
"ubus": {
"luci.secubox-netdiag": ["clear_counters", "set_port_mode"]
}
}
}
}