I want a user to have read-only access to a repo and be able to clone it so that he can push changes to the clone. I've given him Admin perms for the cloned repo. He can pull from it, but he can't push to it. He has no other perms (workspace or project). Can this work? If not, what has to be added?
Hi @Fred Fierling
Thank you for reaching out to the community.
Could you confirm if the use is using SSH or HTTPS connection while cloning/pushing to the repository?
Also, the "Unauthorized" error is likely related to authentication permissions.
If the user is using an App password, you can refer to this existing knowledge-based article that might help: Error message 401: Unauthorized/Invalid Credentials in Visual Studio Bitbucket Cloud Extension
Regards,
Mark C
The user is using SSH. His public key was configured in the repo's Access Keys.
This page has "Use access keys to gain read-only access to this repository." so we also tried giving him Admin perms in the Project Access Keys and even for the workspace. No joy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fred Fierling
Could you try removing the SSH key from the repo's Access keys and then ask the user to add it to their personal SSH key settings? - https://bitbucket.org/account/settings/ssh-keys/
After that, give admin permission to the user.
Let's see what happens after that.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.