]> git.proxmox.com Git - pve-firewall.git/blobdiff - src/PVE/API2/Firewall/Rules.pm
allow admins to delete security groups
[pve-firewall.git] / src / PVE / API2 / Firewall / Rules.pm
index 400cd7cdd15d30b6af3c6b03cc82a361fb18f636..1aa6d2747424e6905caccd42734eaf4734ec5798 100644 (file)
@@ -359,6 +359,9 @@ __PACKAGE__->register_method({
     method => 'DELETE',
     description => "Delete security group.",
     protected => 1,
+    permissions => {
+       check => ['perm', '/', [ 'Sys.Modify' ]],
+    },
     parameters => {
        additionalProperties => 0,
        properties => {