diff --git a/README.md b/README.md index 2ca8b473..3d431ae2 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,7 @@ Every page is sent with `X-Frame-Options: DENY` and `Content-Security-Policy: sc ### Cloud-init datasource -WebVirtCloud serves cloud-init metadata to guest instances: the hostname, and the SSH keys of the VM's users for the image's default user. The host in the URL must be in `ALLOWED_HOSTS`: +WebVirtCloud serves cloud-init metadata to guest instances: the hostname, and the SSH keys of the VM's users for the image's default user. The panel finds the VM by the reverse DNS name of the address the request comes from: its first label must be the name of exactly one VM, or no keys are sent. The host in the URL must be in `ALLOWED_HOSTS`: ```yaml datasource: diff --git a/doc/permissions.md b/doc/permissions.md index 593e3720..f5eb7d0a 100644 --- a/doc/permissions.md +++ b/doc/permissions.md @@ -17,7 +17,7 @@ WebVirtCloud combines three kinds of access rights: | Start, shut down, power cycle, force off | ✅ | ✅ | — | ❌ | | Open the console (noVNC, `.vv` file for virt-viewer, VDI URL) | ✅ | ✅ | — | ❌ | | Resize CPU/memory/disk, set root password, add SSH key, change title/description | ✅ | ✅ | `is_change` | ❌ | -| Change console settings (type, VNC password, keymap) | ✅ | ✅ | `is_change` and `is_vnc` | ❌ | +| Change console settings (type, VNC password, keymap) | ✅ | ✅ | `is_change` and `is_vnc`; the listen address, and removing the password of a console that listens beyond localhost, are a superuser's | ❌ | | Snapshots | ✅ | ✅ | `is_change` and `instances.snapshot_instances` | ❌ | | Clone | ✅ | ✅ | `is_change` and `instances.clone_instances` (templates: viewing the template is enough) | templates only, with `instances.clone_instances` | | Delete the VM | ✅ | ✅ | `is_delete` | ❌ |