fix(sdn-controller): only admin can create private networks (#5200)
This commit is contained in:
@@ -27,3 +27,5 @@
|
||||
> - major: if the change breaks compatibility
|
||||
>
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
xo-server-sdn-controller patch
|
||||
|
||||
@@ -439,6 +439,7 @@ class SDNController extends EventEmitter {
|
||||
mtu: { type: 'integer', optional: true },
|
||||
preferredCenterId: { type: 'string', optional: true },
|
||||
}
|
||||
createPrivateNetwork.permission = 'admin'
|
||||
|
||||
// ---------------- OpenFlow rules method ----------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user