Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Anonymous Access to Stash

How do I enable people to browse projects and repositories with out logging into stash first?

Rob

4 answers

1 accepted

1 vote
Answer accepted
seb Atlassian Team Jun 01, 2012

Hi Rob

Stash does not yet support anonymous access. I have raised a feature request in JIRA to track it's progress: STASH-2565. Please comment or vote on the issue to voice your support for it.

Regards,

Seb

Hi there,

The new stash version has the feature to enable public access to the repositories as show on the documentation found on https://confluence.atlassian.com/display/STASH/Allowing+public+access+to+code

Regards.

Where are workarround. Create user 'stash' with password 'stash', and add him to obversers. Then you can use HTTP/HTTPS protocol with credentials of this user.

Another one solution is based on symlinks you created within folder on server by repositories names. You should create named symlinks. For example, if Stash home directory is /var/lib/stash, then /var/lib/stash/data/repositories contains repos by numbered directories. So, you can use plugin SysInfo (by Atlassian to know that directory you need), and then create symlink for this directory.

Create directory /var/lib/stash/symbolic-repos/. And put symlinks within it, something like /var/lib/stash/symbolic-repos/myrepo ->/var/lib/stash/data/repositories/5

After you create all needed named links for repositories you want to access by git:// protocol, you can just run command `git daemon` in that directory. Read manuals about this: http://git-scm.com/docs/git-daemon

Also you need to create file in repository directory to enable anonymous access into Git repo.

We have "anonymous" access with a password already, but that is not really secure. I'd like for atlassian to really implement it correctly such that it avoids having to give a username and password to random people to access the repositories.

As for the git daemon that would work, except that people can make repositories in any project that they own and we would need to keep creating symlinks to those repositories for the git-daemon. The system is restricted in who has access to it (i.e. admin only).

If you look at https://jira.atlassian.com/browse/STASH-2565 you will see many people with the same problem, and this will only get worse since atlassian is stopping support for git repositories in fisheye come august.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

630 views 7 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you