diff options
Diffstat (limited to 'src/PVE/API2/Network/SDN/Zones.pm')
| -rw-r--r-- | src/PVE/API2/Network/SDN/Zones.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PVE/API2/Network/SDN/Zones.pm b/src/PVE/API2/Network/SDN/Zones.pm index 6e53240..4c8b7e1 100644 --- a/src/PVE/API2/Network/SDN/Zones.pm +++ b/src/PVE/API2/Network/SDN/Zones.pm @@ -251,7 +251,7 @@ __PACKAGE__->register_method ({ method => 'PUT', description => "Update sdn zone object configuration.", permissions => { - check => ['perm', '/sdn/zones', ['SDN.Allocate']], + check => ['perm', '/sdn/zones/{zone}', ['SDN.Allocate']], }, parameters => PVE::Network::SDN::Zones::Plugin->updateSchema(), returns => { type => 'null' }, @@ -315,7 +315,7 @@ __PACKAGE__->register_method ({ method => 'DELETE', description => "Delete sdn zone object configuration.", permissions => { - check => ['perm', '/sdn/zones', ['SDN.Allocate']], + check => ['perm', '/sdn/zones/{zone}', ['SDN.Allocate']], }, parameters => { additionalProperties => 0, |
