]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/Backup.pm
api: backup/vzdump: add permission check for fleecing storage
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 13 Mar 2024 13:26:01 +0000 (14:26 +0100)
committerFiona Ebner <f.ebner@proxmox.com>
Fri, 19 Apr 2024 13:57:28 +0000 (15:57 +0200)
commit77266e2961a09a337a395faec191773403cc87d7
tree1a76445e03a22d61db89c903b41cadba0e35c5f2
parent98cb465a37186b36bafe1525d15ce6ab0b0fdef9
api: backup/vzdump: add permission check for fleecing storage

Similar to how Datastore.AllocateSpace is required for the backup
storage, it should also be required for the fleecing storage.

Removing a fleecing storage from a job does not require more
permissions than for modifying the job.

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/API2/Backup.pm
PVE/API2/VZDump.pm
PVE/VZDump.pm