]> git.proxmox.com Git - proxmox-backup.git/commit
api: tape: restore: improve permission checks
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 24 May 2022 09:47:07 +0000 (11:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 25 May 2022 15:18:56 +0000 (17:18 +0200)
commit99e13997293dae1614f013dbf2c653ce1ffa75c9
treeb3b1fd636f6ee87943e9c70b40135e27d413349c
parent0aa5815fb67801236f77b7f4cbb0f626d306f2fe
api: tape: restore: improve permission checks

no redundant store+namespace mapping, and synchronize namespace creation
check with that of manual creation and creation as part of sync.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/tape/restore.rs