sureshanaparti commented on a change in pull request #5784:
URL: https://github.com/apache/cloudstack/pull/5784#discussion_r773710367
##########
File path: server/src/main/java/com/cloud/network/NetworkModelImpl.java
##########
@@ -1659,8 +1659,7 @@ public void checkNetworkPermissions(Account owner,
Network network) {
throw new CloudRuntimeException("cannot check permissions on
(Network) <null>");
}
// Perform account permission check
- if ((network.getGuestType() != GuestType.Shared &&
network.getGuestType() != GuestType.L2) ||
- (network.getGuestType() == GuestType.Shared &&
network.getAclType() == ACLType.Account)) {
+ if (network.getGuestType() != GuestType.Shared || network.getAclType()
== ACLType.Account) {
Review comment:
@weizhouapache check the changes introduced at
https://github.com/apache/cloudstack/pull/2420, for L2 network.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]