CluPilotCloud/app/Services/Wireguard
nexxo aae0457e19 feat(admin): administrator access to a customer's Nextcloud
Impersonation borrows the customer's portal session; this is access to their
installation, which is a different thing and now a different button.

Nextcloud has no passwordless admin jump, so this does the only honest thing it
offers: it resets OUR managed admin account inside that installation and hands
the credentials over once. The customer's own accounts are untouched, and the
next request sets a new password again.

- New capability instances.adminlogin, Owner and Admin only — stronger than
  impersonation, because it hands over control rather than a session.
- The operator's own password is required every time, rate-limited: taking over
  a customer's installation is not something an unattended browser should manage
  on its own.
- The reset runs on the provisioning worker (it owns the tunnel and the Proxmox
  credentials); the console polls a handoff token, so the credentials never
  enter a Livewire snapshot.
- A silent instance is reported as such instead of appearing to succeed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-26 05:30:59 +02:00
..
ConfigHandoff.php feat(admin): administrator access to a customer's Nextcloud 2026-07-26 05:30:59 +02:00
ConfigVault.php feat(vpn): ownership, a Developer role, and password-gated config retrieval 2026-07-25 22:31:54 +02:00
FakeWireguardHub.php feat(admin): VPN access management with live peer state 2026-07-25 21:38:12 +02:00
Keypair.php feat(admin): VPN access management with live peer state 2026-07-25 21:38:12 +02:00
LocalWireguardHub.php fix(vpn): stop revoked accesses coming back and stale jobs undoing intent 2026-07-25 21:41:03 +02:00
PeerSnapshot.php feat(admin): VPN access management with live peer state 2026-07-25 21:38:12 +02:00
QrCode.php fix(vpn): give the QR code the specified four-module quiet zone 2026-07-25 22:40:54 +02:00
WireguardHub.php feat(admin): VPN access management with live peer state 2026-07-25 21:38:12 +02:00