Re: [pve-devel] [PATCH v7 manager 1/5] api: nodes: add query_url_metadata method

2021-06-15 Thread Lorenz Stechauner
metadata is gained using a HEAD request. Due to the ability of this api endpoint to request files on internal networks (which would not be visible/accessible from outside) it is restricted to users with permissions `Sys.Audit` and `Sys.Modify` on `/`. Users with these permissions are able to a

[pve-devel] [PATCH v7 manager 1/5] api: nodes: add query_url_metadata method

2021-06-14 Thread Lorenz Stechauner
Signed-off-by: Lorenz Stechauner --- PVE/API2/Nodes.pm | 96 +++ 1 file changed, 96 insertions(+) diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index e58d9c10..77fa710a 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2/Nodes.pm @@ -11,6 +11,7 @@ use J