diff options
Diffstat (limited to 'PVE/API2/Network/SDN.pm')
| -rw-r--r-- | PVE/API2/Network/SDN.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PVE/API2/Network/SDN.pm b/PVE/API2/Network/SDN.pm index 66856c5..2d76b2e 100644 --- a/PVE/API2/Network/SDN.pm +++ b/PVE/API2/Network/SDN.pm @@ -37,7 +37,7 @@ __PACKAGE__->register_method({ method => 'GET', description => "Directory index.", permissions => { - check => ['perm', '/', [ 'Sys.Audit' ]], + check => ['perm', '/', [ 'SDN.Audit' ]], }, parameters => { additionalProperties => 0, @@ -82,9 +82,9 @@ __PACKAGE__->register_method ({ path => '', method => 'PUT', description => "Apply sdn controller changes && reload.", -# permissions => { -# check => ['perm', '/cluster/sdn/controllers', ['SDN.Allocate']], -# }, + permissions => { + check => ['perm', '/sdn', ['SDN.Allocate']], + }, parameters => { additionalProperties => 0, }, |
