secubox-openwrt/package/secubox/luci-app-system-hub/root/usr/share/rpcd/acl.d/luci-app-system-hub.json
CyberMind-FR fa02d44f8d feat: Replace RustDesk with rtty remote access in system-hub
- Add rtty support for reverse proxy terminal access to relay server
- Add ttyd web console with embedded iframe terminal
- Fix pgrep -x issues by replacing with pidof (BusyBox compatible)
- Update API.js to v0.4.0 with rtty parameters
- Rewrite remote.js view with rtty configuration UI:
  - Server host/port/token/description fields
  - SSL/TLS toggle
  - Connect/Disconnect controls
  - Device ID display (auto-generated from MAC)
- Add RPCD methods: ttyd_status, ttyd_install, ttyd_start, ttyd_stop, ttyd_configure
- Update ACL permissions for new methods

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

62 lines
1.2 KiB
JSON

{
"luci-app-system-hub": {
"description": "System Hub - Central Control Dashboard",
"read": {
"ubus": {
"luci.system-hub": [
"status",
"get_system_info",
"get_health",
"get_components",
"get_components_by_category",
"list_services",
"get_logs",
"get_storage",
"get_settings",
"get_backup_schedule",
"list_diagnostics",
"list_diagnostic_profiles",
"get_diagnostic_profile",
"download_diagnostic",
"run_diagnostic_test",
"remote_status",
"remote_get_credentials",
"ttyd_status"
],
"luci.secubox": [
"modules",
"getModules",
"modules_by_category",
"getModuleInfo",
"get_theme",
"getStatus",
"getHealth"
]
}
},
"write": {
"ubus": {
"luci.system-hub": [
"service_action",
"backup_config",
"restore_config",
"set_backup_schedule",
"reboot",
"save_settings",
"collect_diagnostics",
"delete_diagnostic",
"upload_diagnostics",
"remote_install",
"remote_configure",
"remote_service_action",
"remote_save_settings",
"ttyd_install",
"ttyd_start",
"ttyd_stop",
"ttyd_configure"
]
}
}
}
}