public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES storage v2 0/2] api: prune backups: improve permission checks
@ 2026-11-05 10:35 Fiona Ebner
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Fiona Ebner @ 2026-11-05 10:35 UTC (permalink / raw)
  To: pve-devel

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-05 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 10:35 [PATCH-SERIES storage v2 0/2] api: prune backups: improve permission checks Fiona Ebner
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal