1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-10 20:26:48 +00:00
webvirtcloud/instances/templates/instances
catborise 4dff1008cc fix(instances): only superusers and staff owners change a template VM
The documented rule held only for snapshots: an owner with is_change could
still resize a template, set its root password and SSH keys, change its
options and console settings. get_instance(perm_type="change") now
refuses a template to owners who are not staff, which covers every change
view and the API; the per-view snapshot checks it replaces are removed,
and the page offers those controls by the same rule. Viewing, the console,
power (a no-op on a template) and cloning are unchanged.
2026-10-07 21:04:23 +03:00
..
access_tab.html fix(instances): the VM page offers only the controls the user may use 2026-10-07 20:42:10 +03:00
destroy_instance_form.html Bootstrap5 (#17) 2021-07-07 14:12:38 +03:00
destroy_tab.html Bootstrap5 (#17) 2021-07-07 14:12:38 +03:00
edit_instance_volume.html logger updates (#31) 2023-08-09 09:20:18 +03:00
info_tab.html Bootstrap5 (#17) 2021-07-07 14:12:38 +03:00
power_tab.html fix(instances): the VM page offers only the controls the user may use 2026-10-07 20:42:10 +03:00
resize_tab.html fix(instances): the VM page offers only the controls the user may use 2026-10-07 20:42:10 +03:00
settings_tab.html fix(instances): only superusers and staff owners change a template VM 2026-10-07 21:04:23 +03:00
snapshots_tab.html logger updates (#31) 2023-08-09 09:20:18 +03:00
stats_tab.html fix: serve JSON endpoints as application/json and build DOM safely 2026-10-02 18:29:11 +03:00