]> git.proxmox.com Git - pmg-api.git/blobdiff - PMG/API2/Nodes.pm
PMG/API2/Nodes.pm - fix permissions for rrddata
[pmg-api.git] / PMG / API2 / Nodes.pm
index 1c9e8b6ee1e56d2990768bc84e442ff3b0d1d584..a03bf6c7d491583cb70cda4f23d78a462728a0c2 100644 (file)
@@ -113,6 +113,7 @@ __PACKAGE__->register_method({
     method => 'GET',
     protected => 1, # fixme: can we avoid that?
     proxyto => 'node',
+    permissions => { check => [ 'admin', 'audit' ] },
     description => "Read node RRD statistics",
     parameters => {
        additionalProperties => 0,