diff options
| author | Alexandre Derumier <aderumier@odiso.com> | 2023-06-08 03:24:44 +0200 |
|---|---|---|
| committer | Fabian Grünbichler <f.gruenbichler@proxmox.com> | 2023-06-12 12:55:12 +0200 |
| commit | d7c1620043a8ed3492bb085c33974a5e3466e0cc (patch) | |
| tree | 69c2aeda1c43e460b15457f7fa78b88786727a6d /src/PVE/API2/Network/SDN.pm | |
| parent | cbf906daae88a1e3bc67586359cffd47544d2045 (diff) | |
fix permissions && use new /sdn/zones/<zone>/<vnet> path
- use new /sdn/zones/zone/<vnet> path for vnet && subnets permissions
- fix some permissions on /sdn/zones && /sdn
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'src/PVE/API2/Network/SDN.pm')
| -rw-r--r-- | src/PVE/API2/Network/SDN.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PVE/API2/Network/SDN.pm b/src/PVE/API2/Network/SDN.pm index 33ecfb7..d216e48 100644 --- a/src/PVE/API2/Network/SDN.pm +++ b/src/PVE/API2/Network/SDN.pm @@ -51,7 +51,7 @@ __PACKAGE__->register_method({ method => 'GET', description => "Directory index.", permissions => { - check => ['perm', '/', [ 'SDN.Audit' ]], + check => ['perm', '/sdn', [ 'SDN.Audit' ]], }, parameters => { additionalProperties => 0, |
