1. Bitbucket Website
  2. Public Issue Tracker
  3. master

Issues

Issue #3835 duplicate

Shared read-only access to a private repository.

Steven Jackson
created an issue

I'd like to be able to set up a login and password which has read-only access to a repository without creating a new Bitbucket user.

The details would be given to clients that require our latest code changes, but I don't want them to have access to the Bitbucket website.

The username would be unique to a repository, so for example I could add username=Anonymous to two of my repositories, each having whatever password I choose. It wouldn't be a real Bitbucket user account.

Comments (3)

  1. Brodie Rao

    It sounds like you could use SSH deploy keys to get the same effect. I'm gonna go ahead and mark this as a duplicate of #3106 if you don't mind.

    Just out of curiosity, why does it matter if they can view the repository on Bitbucket?

    Duplicate of #3106.

  2. Steven Jackson reporter

    I hadn't heard of deploy keys before, that's a cleaner solution and delivers what I want to achieve.

    It's not that I don't want them to be able to browse the repository, but it might not be suitable for people outside the development team to be able to view our private wiki and issue tracker. I'm still very new to Bitbucket so maybe that can be restricted another way. I'll wait for deploy keys anyway.

    Thanks.

  3. Jesse Boyd

    I don't think this answers the question for me. I would like to send someone a link like I do with google docs so they can have read-only access to the source code. I want the repos to remain private with only people having the link able to access. Any tips here appreciated.

  4. Log in to comment