The first patch is in preparation for the import-from API, allowing users with VM.Config.Disk to list images of their VMs.
The rest of the series introduces a content type parameter to check_volume_access() for future-proofing. Dependency bumps for storage are needed for the parameter to actually have an effect. storage: Fabian Ebner (4): check volume access: allow if user has VM.Config.Disk check volume accesss: add content type parameter pvesm: extract config: add content type check api: file restore: use check_volume_access to restrict content type PVE/API2/Storage/FileRestore.pm | 12 ++++-------- PVE/CLI/pvesm.pm | 9 ++++++++- PVE/Storage.pm | 9 ++++++++- 3 files changed, 20 insertions(+), 10 deletions(-) manager: Fabian Ebner (2): pveam: remove: add content type check api: vzdump: extract config: add content type check PVE/API2/VZDump.pm | 9 ++++++++- PVE/CLI/pveam.pm | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) container: Fabian Ebner (1): api: create/modify: add content type checks src/PVE/API2/LXC.pm | 10 +++++++++- src/PVE/LXC.pm | 9 ++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) qemu-server Fabian Ebner (1): api: create/modify: add content type checks PVE/API2/Qemu.pm | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel