An authorization sweep of everything added since 2026-11-09 (tags, Balance,
maintenance, Bulk Migrate, volume download, protection, disk I/O limits,
crash action, bulk power/snapshot/tag, backup targets, schedules, verify and
restores, unlock and OTP reset) as a stranger, staff, a view_instances
auditor, a flagless owner and an owner with every flag found no gap.
- the VM details of the API carry state_reason when a fault put the VM in
its state, as the VM page tells it: libvirt's state and reason codes of
one read and the reason in the request's language; null otherwise. A
script watching the API can tell a VM a full storage paused from one
paused by hand, in any language
- the bulk actions name a refused VM to whoever sees it (a view_instances
auditor too), and a bulk snapshot no longer tells one who does not see a
VM that it is a template (_visible_vms, one filter for the three)
- doc/permissions.md: creating a VM and the VM report, host devices, video,
RNG, TPM, the crash and hang action, disk I/O limits, disk moves and
protection are a superuser's, so are verifying a backup, restoring one
disk, backing up a template and the backup API; deleting a VM takes its
disk files when chosen; notes on bulk actions, the Jobs page, the address
search, API tokens and LDAP passwords
The VM page shows an owner who is not a superuser no host files, but
the REST API gave them each disk's and CD-ROM's path, image and pool,
backing files, the firmware loader and the NVRAM path, and the delete
confirmation listed the disks' paths. Both now give an owner a disk's
device, size and settings only, as the VM page does.
A VM with a managed save image showed as plain Off; Power On restored the
saved memory and the panel had no way to boot it fresh or drop the saved
state. The power tab now says the VM has a saved state and offers Start
Without Saved State (confirmed), which boots it with
VIR_DOMAIN_START_FORCE_BOOT and so discards the image. Owners get it as
they get Power On; the audit row names it.
- A VM delete reads delete_disk and delete_nvram as booleans from a JSON
or form body. The view read them as HTML checkboxes from the form body
only: JSON {"delete_disk": true} kept the disks while reporting success,
and a form "delete_disk=false" deleted them. Refused options stop
nothing; the API schema names both options.
- Power on and power cycle of a template answer 409 instead of reporting a
start that did not happen.
- The VM details leave out the host's ISO images for non-superusers, as
the VM page does; reading them also refreshed every pool of the host.
- Flavors take values of at least 1, as the web form does, and show their
id for later changes; a migration needs neither live nor offline; a VM
create on an unknown compute answers 404 instead of 500.