Skip to content

Remove host access toggle from web UI#47

Merged
gricha merged 1 commit intomainfrom
remove-host-access-toggle
Jan 8, 2026
Merged

Remove host access toggle from web UI#47
gricha merged 1 commit intomainfrom
remove-host-access-toggle

Conversation

@gricha
Copy link
Copy Markdown
Owner

@gricha gricha commented Jan 8, 2026

Summary

  • Remove the enable/disable toggle for host access from the web landing page
  • Host access configuration should only be controlled on the host itself (via CLI flags like --host-access), not remotely through the web interface
  • The HostSection now displays the current state as read-only, with guidance on how to enable via CLI flag when disabled

Changes

  • Backend: Remove updateHostAccess endpoint from router
  • Frontend: Remove updateHostAccess API method and toggle mutation
  • UI: Simplify HostSection to be display-only, showing CLI instructions when disabled

The toggle to enable/disable host access on the landing page doesn't make
sense - this security config should only be controlled on the host itself
(via CLI flags like --host-access), not remotely through the web interface.

- Remove updateHostAccess endpoint from backend router
- Remove updateHostAccess API method from frontend
- Make HostSection display-only, showing how to enable via CLI flag
@gricha gricha force-pushed the remove-host-access-toggle branch from 075db92 to 0a27f4e Compare January 8, 2026 06:54
@gricha gricha merged commit 56e9638 into main Jan 8, 2026
6 checks passed
@gricha gricha deleted the remove-host-access-toggle branch January 8, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant