1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/instances
catborise 36635eb450 fix(instances): the API tells a VM's fault reason; doc/permissions.md as the code is
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
2026-11-23 08:15:25 +03:00
..
api fix(instances): the API tells a VM's fault reason; doc/permissions.md as the code is 2026-11-23 08:15:25 +03:00
migrations fix(computes): a VM that returns gets its protection, schedules and backups back 2026-11-20 08:17:23 +03:00
templates feat(instances): a guest that crashes or hangs is restarted or stopped 2026-11-22 22:04:04 +03:00
templatetags fix: power jobs name their action, refuse what does not apply and recover by the VM's state 2026-11-20 12:10:06 +03:00
tests fix(instances): the API tells a VM's fault reason; doc/permissions.md as the code is 2026-11-23 08:15:25 +03:00
__init__.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
addresses.py fix(instances): one guest's bad address no longer ends a search or the VM report 2026-11-13 16:07:12 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
forms.py fix(i18n): form fields shown with their form's label are translated 2026-11-21 15:41:11 +03:00
jobs.py feat(instances): a guest that crashes or hangs is restarted or stopped 2026-11-22 22:04:04 +03:00
models.py feat(instances): a guest that crashes or hangs is restarted or stopped 2026-11-22 22:04:04 +03:00
report.py perf: the Logs and VM report downloads are written row by row 2026-11-05 18:58:13 +03:00
states.py feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
urls.py feat(instances): snapshot the VMs chosen on the VM list 2026-11-20 14:24:46 +03:00
utils.py feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
views.py fix(instances): the API tells a VM's fault reason; doc/permissions.md as the code is 2026-11-23 08:15:25 +03:00