1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/instances
catborise d97e44b77f fix(instances): a request refused by the permission check takes no claim
The VM and compute claim decorators checked only that the user sees the
VM, took the claim, and left the action's own right to the view inside:
a read-only viewer, or an owner who may not delete the VM, briefly held
the VM's or the whole compute's claim and could make other requests
there busy. They now check the least right first: power for a VM change,
delete for the compute-wide claim (destroy; its other views are
superuser-only).
2026-11-05 18:08:03 +03:00
..
api fix(api): a VM action answers with what the page would have shown after it 2026-11-05 16:28:29 +03:00
fixtures Instances overhaul 2020-07-13 15:33:09 +06:00
migrations fix(admin): Removed VMs shows the host a VM left and confirms a delete 2026-10-26 11:48:40 +03:00
templates perf(instances): VM lists read each host once, not three calls a VM 2026-11-04 20:54:11 +03:00
templatetags feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
tests fix(instances): a request refused by the permission check takes no claim 2026-11-05 18:08:03 +03:00
__init__.py Fixe migrations for new deployments 2020-05-28 18:19:25 +06:00
addresses.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
forms.py feat(instances): a VM's console settings in two cards, with a password action 2026-10-30 14:55:57 +03:00
jobs.py fix(api): a VM create without mac or nwfilter is accepted and runs 2026-11-05 16:28:29 +03:00
models.py feat(instances): the Resize tab shows how much a VM has within its maximum 2026-11-03 23:07:59 +03:00
report.py fix(admin): the Logs download survives any row and stops at a size it can build 2026-10-26 10:12:53 +03:00
states.py feat(instances): the Power tab shows the VM's state and where each action takes it 2026-11-03 19:22:52 +03:00
urls.py perf(instances): the VM page lists ISO images without reading every pool 2026-11-02 13:58:51 +03:00
utils.py fix(instances): a failed disk check on another host names it only to administrators 2026-11-05 16:28:29 +03:00
views.py fix(instances): a request refused by the permission check takes no claim 2026-11-05 18:08:03 +03:00