From 959ab51c8f4127a43f1708d4d7e135de1819e638 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 18 Mar 2015 06:08:53 +0100 Subject: [PATCH] allow admins to delete security groups --- src/PVE/API2/Firewall/Rules.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PVE/API2/Firewall/Rules.pm b/src/PVE/API2/Firewall/Rules.pm index 400cd7c..1aa6d27 100644 --- a/src/PVE/API2/Firewall/Rules.pm +++ b/src/PVE/API2/Firewall/Rules.pm @@ -359,6 +359,9 @@ __PACKAGE__->register_method({ method => 'DELETE', description => "Delete security group.", protected => 1, + permissions => { + check => ['perm', '/', [ 'Sys.Modify' ]], + }, parameters => { additionalProperties => 0, properties => { -- 2.39.5