Skip to content

Commit 5f7b4db

Browse files
committed
CLOUDSTACK-7471:Regular user is allowed to deleteNetwork/RestartNetwork
that does not belong to him.He is also able to deploy Vm for other users.
1 parent f9450cc commit 5f7b4db

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

server/src/com/cloud/user/AccountManagerImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,6 @@ public void checkAccess(Account caller, AccessType accessType, boolean sameOwner
537537
granted = true;
538538
break;
539539
}
540-
granted = true;
541-
break;
542540
}
543541

544542
if (!granted) {

0 commit comments

Comments
 (0)