Github user resmo commented on the pull request: https://github.com/apache/cloudstack/pull/510#issuecomment-114465874 @DaanHoogland We already do :). User permissions API is **not affected** of this change however. The API does already return VMs `listVirtualMacines` in `destroyed` state if you have *admin* permissions. But if you provide `zoneid` in `listVirtualMacines` with *admin* permissions, it does not return VMs in `destroyed` state. This makes no sense to me. The bug was already fixed in CLOUDSTACK-284 but then the bug was reimplemented by accident.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---