Github user kansal commented on the pull request: https://github.com/apache/cloudstack/pull/685#issuecomment-131699503 @kishankavala @DaanHoogland @sedukull The API level check was already in place but was not working because the check was done on the public key passed from user before converting it to public_key form using the method getPublicKeyFromKeyKeyMaterial(). Have made a change regarding that. Also, I feel the additional DB checks would be good. Please review?
--- 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. ---