User ssh keys linked to projects
Created by: Pratima
As a user when I remove my ssh key and add a new my ssh key, I lose read/write access to the projects that were created when I was using the older key. Essentially it should not matter what my ssh key is as far as I have the private key on my machine to authenticate it with. I should still have access to my repos irrespective of when they were created as far as my keys can talk to each other. In the keys model we see a key belonging to a project. I can;t understand why a key should belong to a project. Its strictly a user related object. As far as the user has the private part he/she should be able to write to his/her projects. Th project should not dictate which key should be used in case of multiple keys or change of keys.