1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/admin
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
..
migrations fix(admin): the Technicians group migration can run on a database that has it 2026-11-06 11:01:58 +03:00
templates/admin fix(admin): setting a user's password deletes the user's API tokens 2026-11-06 20:00:43 +03:00
tests fix(admin): a block deletes the user's API tokens 2026-11-10 08:10:56 +03:00
__init__.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
decorators.py feat(security): apply Codex review hardening to console tokens and superuser authorization 2026-09-27 11:30:03 +03:00
forms.py fix(instances): a new VM and each clone get a VNC password of their own 2026-11-06 20:00:43 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
permissions.py feat(security): apply Codex review hardening to console tokens and superuser authorization 2026-09-27 11:30:03 +03:00
urls.py feat(admin): the Logs page searches every row, shows failures and downloads them 2026-10-25 23:08:42 +03:00
views.py fix(admin): a block deletes the user's API tokens 2026-11-10 08:10:56 +03:00