1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/admin/tests
catborise 8c87fe8d32 fix(admin): a block deletes the user's API tokens
A blocked user's tokens were refused while the block lasted, but an
unblock brought them back: blocking a taken-over account and opening it
again gave its tokens back to whoever had made them. Blocking, from the
user list or by unticking Active on the edit form, now deletes them, as
an administrator's password reset does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 08:10:56 +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 fix(logs): a row says what happened: a recovered migration, a failed clone step, a device not there 2026-11-07 14:36:34 +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 fix(admin): a block deletes the user's API tokens 2026-11-10 08:10:56 +03:00