mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-22 13:34:16 +03:00
api: annotate file-restore endpoint as download-enabled
to satisfy the new checks in the API handler that only allow downloading via marked endpoints. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
f2b4f7f955
commit
f9bdac0e8f
@ -146,6 +146,7 @@ __PACKAGE__->register_method ({
|
||||
path => 'download',
|
||||
method => 'GET',
|
||||
proxyto => 'node',
|
||||
download => 1,
|
||||
permissions => {
|
||||
description => "You need read access for the volume.",
|
||||
user => 'all',
|
||||
|
Loading…
Reference in New Issue
Block a user