]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/API2/Network/SDN/Zones/Content.pm
add permissions
[pve-network.git] / PVE / API2 / Network / SDN / Zones / Content.pm
index 94536fbcf5f1e389bf10612442f16f72fea196e2..f3912018e613c4d8c2e60ea865c542a7c0d07f67 100644 (file)
@@ -21,9 +21,9 @@ __PACKAGE__->register_method ({
     path => '',
     method => 'GET',
     description => "List zone content.",
-#    permissions => {
-#      check => ['perm', '/sdn/{sdn}', ['SDN.Audit'], any => 1],
-#    },
+    permissions => {
+       check => ['perm', '/sdn/zones/{zone}', ['SDN.Audit'], any => 1],
+    },
     protected => 1,
     proxyto => 'node',
     parameters => {