]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/API2/Nodes.pm - fix permissions for rrddata
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 9 Oct 2017 07:50:23 +0000 (09:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 9 Oct 2017 07:50:23 +0000 (09:50 +0200)
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,