all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH-SERIES storage v2 0/2] api: prune backups: improve permission checks
Date: Thu,  5 Nov 2026 11:35:42 +0100	[thread overview]
Message-ID: <20261105103736.52417-1-f.ebner@proxmox.com> (raw)

Changes in v2:
* Different approach. Do not use check_volume_access() for filtering.
  Aligning the permissions between the dry run and active run is more
  natural here.

Align the permission checks for dry run and active run, since that is
natural here. And remove an unnatural restriction for the case where
an explicit guest ID is specified.

pve-storage:

Fiona Ebner (2):
  api: prune backups: align permission check for dry run and active run
  api: prune backups: allow Datastore.Allocate even without VM.Backup

 src/PVE/API2/Storage/PruneBackups.pm | 37 +++++++++++++++++++---------
 1 file changed, 25 insertions(+), 12 deletions(-)


Summary over all repositories:
  1 files changed, 25 insertions(+), 12 deletions(-)

-- 
Generated by git-murpp 0.5.0




             reply	other threads:[~2026-11-05 10:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 10:35 Fiona Ebner [this message]
2026-11-05 10:35 ` [PATCH storage v2 1/2] api: prune backups: align permission check for dry run and active run Fiona Ebner
2026-11-05 10:35 ` [PATCH storage v2 2/2] api: prune backups: allow Datastore.Allocate even without VM.Backup Fiona Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261105103736.52417-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal