]> git.proxmox.com Git - proxmox-backup.git/commit
api: datastore: lookup after checking privs
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 9 May 2022 16:03:32 +0000 (18:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 May 2022 07:33:50 +0000 (09:33 +0200)
commit1909ece2295207303aff74962242682d9250de22
tree3b6926729339fb695a4d5336f432c961bf92c4a8
parent2bc2435a96ef7926086f14a1c4af4fb2a6b62f6e
api: datastore: lookup after checking privs

else this could leak existence of datastore.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/admin/datastore.rs