cloudstack/server
Lucas Martins 70131be8c2
Fix `deleteAccount` API to prevent deletion of the caller (#8743)
* Fix API deleteAccount deleting caller's account

* Remove extra line

* Add unit tests and change message

* apply suggestion

Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>

* remove extra parentheses

Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>

* Update server/src/test/java/com/cloud/user/AccountManagerImplTest.java

Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>

---------

Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>
2024-08-27 16:13:30 -03:00
..
conf Disable logs to stdout and capture remaining stdout logs to a file (#8880) 2024-06-12 13:46:31 +03:00
src Fix `deleteAccount` API to prevent deletion of the caller (#8743) 2024-08-27 16:13:30 -03:00
pom.xml Build: drop EL7 support, support JRE17 for packages and sonar check (#8609) 2024-08-27 16:09:10 +05:30