1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/admin/tests
catborise 1f9347e148 fix(instances): a new VM and each clone get a VNC password of their own
Since the VM create became a job (6f0c7300) every new VM was defined with
no VNC password, and a clone copied its source's password (or its lack
of one) exactly: every clone of a template shared it. Computes listen
for VNC on all their addresses (dev/libvirt-bootstrap.sh), so anyone who
could reach a compute's VNC ports opened any of these consoles directly,
without the panel; the README's firewall rule was the only guard.

The create job asks for create.py's random 8-character password again,
and a clone's VNC graphics get a new random one. The console page sends
the password to a user with passwordless_console, which the user create
form now ticks by default next to change_password; a user without it is
asked for the password, as the permission intends. Existing VMs keep
their settings.

Live create, clone and VM page tests pass on a TCP compute.
2026-11-06 20:00:43 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_audit_rows.py style(admin): the user form asks who, what role, what quota, then what more 2026-11-04 22:33:07 +03:00
test_logs_page.py perf: the Logs and VM report downloads are written row by row 2026-11-05 18:58:13 +03:00
test_tombstones.py feat(admin): the admin lists as a people directory, the user form by what it allows 2026-10-31 18:10:05 +03:00
test_user_create.py fix(instances): a new VM and each clone get a VNC password of their own 2026-11-06 20:00:43 +03:00
test_user_pages.py fix(admin): setting a user's password deletes the user's API tokens 2026-11-06 20:00:43 +03:00
test_user_update_next.py style(admin): the user form asks who, what role, what quota, then what more 2026-11-04 22:33:07 +03:00
test_views.py test: no seeded admin password, settings changed only for a test, no local libvirt by default 2026-11-06 13:48:03 +03:00