1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/accounts/migrations
catborise db4cbf806a feat(vmbackups): VM owners back up and restore their VMs within a quota
A permission 'Can back up instances' lets a user back up the VMs they
may change into targets open to VM owners, restore those backups over
the VM or as a new VM, and delete the backups they took by hand. Each job
checks the rights at admission and again when it runs.

- A backup quota (GiB, in the user's quota) counts the owner's own
  backups: a backup being made holds its estimate, what its disks and the
  files below them hold. An owner's backups run one at a time, so each
  run's check sees the others.
- An owner restores as a new VM on the VM's compute, into its first
  disk's pool, within the VM quota; the job counts in it until its VM is
  recorded, as a clone does.
- An owner's restore over the VM removes the disks it ran from once the
  switch is done, unless another VM uses them: the owner cannot remove
  them.
- Recovery never begins a deletion the job had not begun.

Superusers keep everything they had.
2026-11-17 19:40:24 +03:00
..
0001_initial.py lint with black python. convert f style strings to old one. some small fixes 2020-11-05 12:34:31 +03:00
0002_permissionset.py Fixe migrations for new deployments 2020-05-28 18:19:25 +06:00
0003_auto_20200604_0930.py Add all settings to appsettings page & Convert settings choices 2020-06-04 12:32:00 +03:00
0004_auto_20200615_0637.py Added missing migrations 2020-06-15 12:38:44 +06:00
0005_auto_20200616_1039.py Reworked some account views 2020-06-16 18:35:08 +06:00
0006_alter_userattributes_id_alter_userinstance_id_and_more.py feat(security): enforce require_POST on power actions, prevent open redirects, and isolate instance permissions 2026-09-27 13:20:45 +03:00
0007_userattributes_must_change_password.py fix(accounts): first-login password change is stored, not in the session 2026-10-04 01:08:11 +03:00
0008_apply_show_profile_edit_password_once.py fix(accounts): migrate no longer overrides the change-password permission 2026-10-04 20:26:53 +03:00
0009_api_token.py feat(accounts): API tokens for scripts and tools 2026-10-24 23:14:27 +03:00
0010_api_token_last_used.py feat(accounts): API tokens show their last use, and a user has at most ten 2026-10-25 10:16:52 +03:00
0011_quota_help.py fix(admin): the Users pages keep an administrator in and say what their fields mean 2026-10-25 22:38:40 +03:00
0012_user_instance_constraint.py refactor(accounts): UserInstance's uniqueness is a UniqueConstraint 2026-11-06 13:46:27 +03:00
0013_default_admin_password.py fix(accounts): an admin still on the password "admin" must change it 2026-11-06 15:20:35 +03:00
0014_backup_quota.py feat(vmbackups): VM owners back up and restore their VMs within a quota 2026-11-17 19:40:24 +03:00
__init__.py Refactor users page 2015-03-18 17:13:44 +02:00