GNOME Bugzilla – Bug 796554
Cannot push to libdmapsharing repository on GitLab
Last modified: 2018-06-10 18:27:40 UTC
I am having trouble with GitLab. A "git push" results in: GitLab: You are not allowed to push code to this project. The project I am pushing to is libdmapsharing, and I am the primary maintainer who requested that this project migrate from git.gnome.org to gitlab.gnome.org. My GitLab username is mikep.
*** Bug 796555 has been marked as a duplicate of this bug. ***
Did you login using your GNOME Account credentials? (LDAP tab on the login page) You can request your first time password via: ssh -l yourusername account.gnome.org
I was not using my GNOME account credentials. I did not realize the significance of the LDAP tab within the authentication screen. I ran "ssh -l mike@flyn.org account.gnome.org," and the system emailed me a temporary password. I then logged in as wmpetullo on account.gnome.org and changed my password. After this, I was able to login as wmpetullo at gitlab.gnome.org using LDAP-based authentication. I was a little surprised to find the result was the same account which I access after logging in using the standard (not LDAP) authentication. Despite logging in as LDAP/wmpetullo, I still seem unable to push: $ git push GitLab: You are not allowed to push code to this project. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I am trying to push to "git@gitlab.gnome.org:GNOME/libdmapsharing.git," and I confirmed that my SSH key is registered with GitLab.
I just tried again and it worked. Perhaps I just had to wait for something to synchronize after updating my password and whatnot.