This release adds dual menu access for Network Modes (both SecuBox and LuCI Network menus) and significantly expands RPCD permissions for all mode configuration operations. ## Network Modes - Dual Menu Access (2 files) - Added Network Modes to standard LuCI Network menu (admin/network/modes) - Maintains existing SecuBox menu location (admin/secubox/network/modes) - Users can now access Network Modes from both locations - Menu order: 60 in Network menu, 10 in SecuBox Network category ## Network Modes - Enhanced Permissions (1 file) Added 13+ new RPCD methods to ACL for complete mode management: Read permissions: - preview_changes - sniffer_config, ap_config, relay_config, router_config - travel_config, doublenat_config, multiwan_config, vpnrelay_config - travel_scan_networks Write permissions: - apply_mode, confirm_mode, rollback - update_settings - generate_wireguard_keys, apply_wireguard_config - apply_mtu_clamping, enable_tcp_bbr - add_vhost, generate_config ## Network Modes - View Updates (11 files) Updated all mode views for consistency: - helpers.js: 28 lines refactored - overview.js: Enhanced view structure - All mode views: wizard, router, multiwan, doublenat, accesspoint, relay, vpnrelay, travel, sniffer ## Theme Enhancements (1 file) - theme.js: 89 lines added - Enhanced theme initialization and configuration - Improved component styling support ## SecuBox Dashboard (2 files) - Updated dashboard.js and modules.js - Improved view rendering and integration ## System Hub (3 files) - Enhanced logs.js, overview.js, services.js - Better view consistency and functionality Summary: - 19 files changed (+282, -36) - Dual menu access for Network Modes - 13+ new RPCD permission methods - All network mode views updated - Theme significantly enhanced 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"luci-app-network-modes": {
|
|
"description": "Grant access to LuCI Network Modes Dashboard",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.network-modes": [
|
|
"status",
|
|
"get_current_mode",
|
|
"get_available_modes",
|
|
"get_interfaces",
|
|
"validate_config",
|
|
"preview_changes",
|
|
"sniffer_config",
|
|
"ap_config",
|
|
"relay_config",
|
|
"router_config",
|
|
"travel_config",
|
|
"doublenat_config",
|
|
"multiwan_config",
|
|
"vpnrelay_config",
|
|
"travel_scan_networks"
|
|
],
|
|
"system": [ "info", "board" ],
|
|
"network.interface": [ "status", "dump" ],
|
|
"iwinfo": [ "info", "scan" ],
|
|
"file": [ "read", "stat" ]
|
|
},
|
|
"uci": [ "network", "wireless", "firewall", "dhcp", "network-modes" ],
|
|
"file": {
|
|
"/etc/config/*": [ "read" ],
|
|
"/sys/class/net/*": [ "read" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.network-modes": [
|
|
"set_mode",
|
|
"apply_mode",
|
|
"confirm_mode",
|
|
"rollback",
|
|
"update_settings",
|
|
"generate_wireguard_keys",
|
|
"apply_wireguard_config",
|
|
"apply_mtu_clamping",
|
|
"enable_tcp_bbr",
|
|
"add_vhost",
|
|
"generate_config"
|
|
]
|
|
},
|
|
"uci": [ "network", "wireless", "firewall", "dhcp", "network-modes" ]
|
|
}
|
|
}
|
|
}
|