mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 11:16:47 +00:00
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). |
||
|---|---|---|
| .. | ||
| api | ||
| fixtures | ||
| migrations | ||
| templates | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| addresses.py | ||
| apps.py | ||
| forms.py | ||
| jobs.py | ||
| models.py | ||
| report.py | ||
| states.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||